Skip to content

Commit

Permalink
fix: linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
jawwad-hassan89 committed May 29, 2023
1 parent 21e3e46 commit 3e7ec1e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.0.1"
version: "2.1.0"
async:
dependency: transitive
description:
Expand Down
1 change: 0 additions & 1 deletion lib/node/indexed_node.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class IndexedNode extends INode implements IIndexedNodeActions {
/// Make sure that the provided [key] is unique to among the siblings of the node.
/// If a [key] is not provided, then a [UniqueKey] will automatically be
/// assigned to the [Node].
@mustCallSuper
IndexedNode({String? key, this.parent})
: assert(key == null || !key.contains(INode.PATH_SEPARATOR),
"Key should not contain the PATH_SEPARATOR '${INode.PATH_SEPARATOR}'"),
Expand Down
1 change: 0 additions & 1 deletion lib/node/node.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class Node extends INode implements INodeActions {
/// Make sure that the provided [key] is unique to among the siblings of the node.
/// If a [key] is not provided, then a [UniqueKey] will automatically be
/// assigned to the [Node].
@mustCallSuper
Node({String? key, this.parent})
: assert(key == null || !key.contains(INode.PATH_SEPARATOR),
"Key should not contain the PATH_SEPARATOR '${INode.PATH_SEPARATOR}'"),
Expand Down

0 comments on commit 3e7ec1e

Please sign in to comment.