mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-24 12:39:37 +00:00
20 lines
531 B
Dart
20 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
|
||
|
];
|
||
|
}
|