Skip to content

Commit 7e9c34b

Browse files
committed
fix: make == override parameters non-nullable
1 parent d174b51 commit 7e9c34b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/graphql/lib/src/links/websocket_link/websocket_messages.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ class SubscriptionData extends GraphQLSocketMessage {
270270
int get hashCode => toJson().hashCode;
271271

272272
@override
273-
bool operator ==(dynamic other) =>
273+
bool operator ==(Object other) =>
274274
other is SubscriptionData && jsonEncode(other) == jsonEncode(this);
275275
}
276276

@@ -295,7 +295,7 @@ class SubscriptionNext extends GraphQLSocketMessage {
295295
int get hashCode => toJson().hashCode;
296296

297297
@override
298-
bool operator ==(dynamic other) =>
298+
bool operator ==(Object other) =>
299299
other is SubscriptionNext && jsonEncode(other) == jsonEncode(this);
300300
}
301301

0 commit comments

Comments
 (0)