mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-25 04:59:33 +00:00
19 lines
531 B
Dart
19 lines
531 B
Dart
import 'package:cw_core/receive_page_option.dart';
|
|
|
|
class LightningReceivePageOption implements ReceivePageOption {
|
|
static const lightningOnchain = LightningReceivePageOption._('lightningOnchain');
|
|
static const lightningInvoice = LightningReceivePageOption._('lightningInvoice');
|
|
|
|
const LightningReceivePageOption._(this.value);
|
|
|
|
final String value;
|
|
|
|
String toString() {
|
|
return value;
|
|
}
|
|
|
|
static const all = [
|
|
LightningReceivePageOption.lightningInvoice,
|
|
LightningReceivePageOption.lightningOnchain
|
|
];
|
|
}
|