mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-25 13:09:32 +00:00
a031b0fe49
This reverts commit a49e57e3
13 lines
297 B
Dart
13 lines
297 B
Dart
abstract class Enumerate {
|
|
String get value;
|
|
|
|
@override
|
|
operator ==(other) {
|
|
if (identical(other, this)) return true;
|
|
if (other is! Enumerate) return false;
|
|
return other.runtimeType == runtimeType && value == other.value;
|
|
}
|
|
|
|
@override
|
|
int get hashCode => value.hashCode;
|
|
}
|