Skip to content

Commit 7430660

Browse files
Merge pull request #31 from lohanidamodar/fix-deploy-failure
fix deploy issue
2 parents 567a013 + 606518d commit 7430660

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/src/realtime_message.dart

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import 'dart:convert';
2-
import 'package:collection/collection.dart';
32
import 'package:flutter/foundation.dart';
43

54
class RealtimeMessage {
@@ -59,12 +58,11 @@ class RealtimeMessage {
5958
@override
6059
bool operator ==(Object other) {
6160
if (identical(this, other)) return true;
62-
final collectionEquals = const DeepCollectionEquality().equals;
6361

6462
return other is RealtimeMessage &&
6563
other.event == event &&
66-
collectionEquals(other.payload, payload) &&
67-
collectionEquals(other.channels, channels) &&
64+
mapEquals(other.payload, payload) &&
65+
listEquals(other.channels, channels) &&
6866
other.timestamp == timestamp;
6967
}
7068

0 commit comments

Comments
 (0)