Skip to content

Commit

Permalink
fix: make == override parameters non-nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkarp committed Apr 1, 2024
1 parent d174b51 commit 7e9c34b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ class SubscriptionData extends GraphQLSocketMessage {
int get hashCode => toJson().hashCode;

@override
bool operator ==(dynamic other) =>
bool operator ==(Object other) =>
other is SubscriptionData && jsonEncode(other) == jsonEncode(this);
}

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

@override
bool operator ==(dynamic other) =>
bool operator ==(Object other) =>
other is SubscriptionNext && jsonEncode(other) == jsonEncode(this);
}

Expand Down

0 comments on commit 7e9c34b

Please sign in to comment.