diff --git a/lib/src/room.dart b/lib/src/room.dart index 14d39f85..0fe2081d 100644 --- a/lib/src/room.dart +++ b/lib/src/room.dart @@ -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]);