mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-16 17:27:37 +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);
|
||
|
|
||
|
}
|