From ee6b55ae31b6331be9dee06280809fdb5ca241a4 Mon Sep 17 00:00:00 2001 From: George Johnson Date: Fri, 21 May 2021 20:31:24 +0100 Subject: [PATCH] Fix for Attribute object comparison --- lib/src/models/documents/attribute.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/models/documents/attribute.dart b/lib/src/models/documents/attribute.dart index 1b9043b9..acd979cb 100644 --- a/lib/src/models/documents/attribute.dart +++ b/lib/src/models/documents/attribute.dart @@ -193,7 +193,7 @@ class Attribute { @override bool operator ==(Object other) { if (identical(this, other)) return true; - if (other is! Attribute) return false; + if (other is! Attribute) return false; final typedOther = other; return key == typedOther.key && scope == typedOther.scope &&