Fix for Attribute object comparison

pull/234/head
George Johnson 4 years ago
parent d4e4b0d507
commit ee6b55ae31
  1. 2
      lib/src/models/documents/attribute.dart

@ -193,7 +193,7 @@ class Attribute<T> {
@override
bool operator ==(Object other) {
if (identical(this, other)) return true;
if (other is! Attribute<T>) return false;
if (other is! Attribute) return false;
final typedOther = other;
return key == typedOther.key &&
scope == typedOther.scope &&

Loading…
Cancel
Save