mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +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);
|
||
|
|
||
|
}
|