We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b77b65e commit b43b7abCopy full SHA for b43b7ab
1 file changed
packages/graphql_codegen/lib/src/printer/base/equality.dart
@@ -28,7 +28,7 @@ Method printEqualityOperator(
28
..statements = ListBuilder([
29
Code("if (identical(this, other)) {return true;}"),
30
Code(
31
- "if (!(other is ${name}) || runtimeType != other.runtimeType) {return false;}"),
+ "if (other is! ${name} || runtimeType != other.runtimeType) {return false;}"),
32
...properties.expand(
33
(e) {
34
final localThisName =
0 commit comments