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