mirror of
https://github.com/AppFlowy-IO/AppFlowy
synced 2026-05-24 09:38:25 +00:00
feat: change attributes map to dynamic
This commit is contained in:
parent
8bd748d7cd
commit
f2c477e89f
2 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import 'dart:collection';
|
||||
import 'package:flowy_editor/document/path.dart';
|
||||
|
||||
typedef Attributes = Map<String, Object>;
|
||||
typedef Attributes = Map<String, dynamic>;
|
||||
|
||||
class Node extends LinkedListEntry<Node> {
|
||||
Node? parent;
|
||||
|
|
|
|||
|
|
@ -397,7 +397,7 @@ class Delta {
|
|||
Attributes? _composeMap(Attributes? a, Attributes? b) {
|
||||
a ??= {};
|
||||
b ??= {};
|
||||
final attributes = <String, Object>{};
|
||||
final Attributes attributes = {};
|
||||
attributes.addAll(b);
|
||||
|
||||
for (final entry in a.entries) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue