From 2b891abc54b1c828a096ec8005feaa06f568bd07 Mon Sep 17 00:00:00 2001 From: Terence Zafindratafa Date: Tue, 28 May 2024 19:43:57 +0200 Subject: [PATCH] update room operator override to fit nullsafety requirements --- lib/src/room.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/room.dart b/lib/src/room.dart index 14d39f857..0fe2081de 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]);