mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-26 21:50:27 +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);
|
||
|
|
||
|
}
|