chore: mark node id as non final (#1070)
This commit is contained in:
parent
2b5830dbaf
commit
5070212ee0
1 changed files with 4 additions and 1 deletions
|
|
@ -68,7 +68,10 @@ final class Node extends ChangeNotifier with LinkedListEntry<Node> {
|
|||
final String type;
|
||||
|
||||
/// The id of the node.
|
||||
final String id;
|
||||
///
|
||||
/// If not provided, it will be generated by [nanoid].
|
||||
/// In most cases, you don't need to modify it after the node is created.
|
||||
String id;
|
||||
|
||||
@Deprecated('Use type instead')
|
||||
String get subtype => type;
|
||||
|
|
|
|||
Loading…
Reference in a new issue