cake_wallet/cw_core/lib/enumerate.dart
OmarHatem a031b0fe49 Revert "Revert btc address types"
This reverts commit a49e57e3
2024-03-04 21:42:57 +02:00

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;
}