Skip to content

Commit

Permalink
fix: Remove unnecessary overrides.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathrunet committed May 16, 2023
1 parent 211236b commit 2aa56ca
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/katana_listenables/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ packages:
path: "../katana_listenables_annotation"
relative: true
source: path
version: "2.0.1"
version: "2.0.2"
lints:
dependency: transitive
description:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,13 @@ List<Spec> baseClass(
Method(
(m) => m
..name = "notifyListeners"
..annotations.addAll([const Reference("override")])
..returns = const Reference("void")
..lambda = true
..body = const Code("throw UnimplementedError()"),
),
Method(
(m) => m
..name = "dispose"
..annotations.addAll([const Reference("override")])
..returns = const Reference("void")
..lambda = true
..body = const Code("throw UnimplementedError()"),
Expand All @@ -81,7 +79,6 @@ List<Spec> baseClass(
(m) => m
..name = "hasListeners"
..type = MethodType.getter
..annotations.addAll([const Reference("override")])
..returns = const Reference("bool")
..lambda = true
..body = const Code("throw UnimplementedError()"),
Expand Down
2 changes: 1 addition & 1 deletion packages/katana_listenables_builder/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ packages:
path: "../katana_listenables_annotation"
relative: true
source: path
version: "2.0.1"
version: "2.0.2"
lints:
dependency: transitive
description:
Expand Down

0 comments on commit 2aa56ca

Please sign in to comment.