TF-82 Save email drafts when content changed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
|
||||
import 'package:collection/collection.dart';
|
||||
|
||||
extension CompareListExtension on List {
|
||||
bool isSame(List value) {
|
||||
Function unOrdDeepEq = const DeepCollectionEquality.unordered().equals;
|
||||
return unOrdDeepEq(this, value);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
extension CompareStringExtension on String? {
|
||||
bool isSame(String? value) => this == value;
|
||||
}
|
||||
Reference in New Issue
Block a user