From bc2dac2ecc3e01b179f9c4de2454bbb504d5953f Mon Sep 17 00:00:00 2001 From: Lukas Lihotzki Date: Thu, 17 Jun 2021 19:19:51 +0200 Subject: [PATCH] refactor: use more specific type --- lib/src/client.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/client.dart b/lib/src/client.dart index 3616a8ef..b503458f 100644 --- a/lib/src/client.dart +++ b/lib/src/client.dart @@ -1615,7 +1615,7 @@ sort order of ${prevState.sortOrder}. This should never happen...'''); .removeWhere((String userId, v) => !trackedUserIds.contains(userId)); // Check if there are outdated device key lists. Add it to the set. - final outdatedLists = {}; + final outdatedLists = >{}; for (final userId in trackedUserIds) { if (!userDeviceKeys.containsKey(userId)) { _userDeviceKeys[userId] = DeviceKeysList(userId, this);