mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-10-31 17:37:41 +00:00
13 lines
313 B
Dart
13 lines
313 B
Dart
|
|
||
|
enum AutoGenerateSubaddressStatus {
|
||
|
initialized(1),
|
||
|
enabled(2),
|
||
|
disabled(3);
|
||
|
|
||
|
const AutoGenerateSubaddressStatus(this.value);
|
||
|
final int value;
|
||
|
|
||
|
static AutoGenerateSubaddressStatus deserialize({required int raw}) =>
|
||
|
AutoGenerateSubaddressStatus.values.firstWhere((e) => e.value == raw);
|
||
|
|
||
|
}
|