Fix formatting

pull/87/head
Miller Adulu 4 years ago
commit 933a17eafb
  1. 4
      lib/models/documents/style.dart
  2. 4
      lib/models/quill_delta.dart

@ -100,8 +100,8 @@ class Style {
@override @override
int get hashCode { int get hashCode {
final hashes = _attributes.entries final hashes =
.map((entry) => hash2(entry.key, entry.value)); _attributes.entries.map((entry) => hash2(entry.key, entry.value));
return hashObjects(hashes); return hashObjects(hashes);
} }

@ -154,8 +154,8 @@ class Operation {
@override @override
int get hashCode { int get hashCode {
if (_attributes != null && _attributes!.isNotEmpty) { if (_attributes != null && _attributes!.isNotEmpty) {
final attrsHash = hashObjects( final attrsHash =
_attributes!.entries.map((e) => hash2(e.key, e.value))); hashObjects(_attributes!.entries.map((e) => hash2(e.key, e.value)));
return hash3(key, value, attrsHash); return hash3(key, value, attrsHash);
} }
return hash2(key, value); return hash2(key, value);

Loading…
Cancel
Save