Skip to content

Commit

Permalink
fix equal operator. take -2
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitpubnub committed Mar 27, 2024
1 parent d145f55 commit 4f599fc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pubnub/lib/src/core/crypto/cipher_key.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ class CipherKey {

@override
bool operator ==(Object other) {
if (other == null) {
return false;
}
if (runtimeType == other.runtimeType) {
return utf8.decode(data) == utf8.decode((other as CipherKey).data);
}
Expand Down

0 comments on commit 4f599fc

Please sign in to comment.