Skip to content

Commit

Permalink
update room operator override to fit nullsafety requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Te-Z committed May 28, 2024
1 parent 32d3a73 commit 2b891ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/room.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2130,7 +2130,7 @@ class Room {
: setSpaceChild(roomId, via: const []);

@override
bool operator ==(dynamic other) => (other is Room && other.id == id);
bool operator ==(Object other) => (other is Room && other.id == id);

@override
int get hashCode => Object.hashAll([id]);
Expand Down

0 comments on commit 2b891ab

Please sign in to comment.