Skip to content

Commit a2ad9b6

Browse files
committed
Fix analyzer
1 parent c589ec5 commit a2ad9b6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/src/state/state.dart

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -461,11 +461,10 @@ abstract class OctopusNode extends _OctopusTree {
461461
final class OctopusNode$Mutable extends OctopusNode {
462462
/// {@nodoc}
463463
OctopusNode$Mutable({
464-
required String name,
464+
required super.name,
465465
required List<OctopusNode> children,
466466
required Map<String, String> arguments,
467467
}) : super(
468-
name: name,
469468
children:
470469
children.map<OctopusNode>(OctopusNode$Mutable.from).toList(),
471470
arguments: Map<String, String>.of(arguments),
@@ -516,11 +515,10 @@ final class OctopusNode$Mutable extends OctopusNode {
516515
final class OctopusNode$Immutable extends OctopusNode {
517516
/// {@nodoc}
518517
OctopusNode$Immutable({
519-
required String name,
518+
required super.name,
520519
required List<OctopusNode> children,
521520
required Map<String, String> arguments,
522521
}) : super(
523-
name: name,
524522
children: List<OctopusNode>.unmodifiable(children.map<OctopusNode>(
525523
(node) => node.freeze(),
526524
)),

0 commit comments

Comments
 (0)