maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult bitcoinAddress(
- BitcoinAddressData address
- TResult bolt11(
- LNInvoice invoice
- TResult nodeId(
- String nodeId
- TResult url(
- String url
- TResult lnUrlPay(
- LnUrlPayRequestData data
- TResult lnUrlWithdraw()?,
- TResult lnUrlAuth(
- LnUrlAuthRequestData data
- TResult lnUrlError(
- LnUrlErrorData data
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(BitcoinAddressData address)? bitcoinAddress,
TResult Function(LNInvoice invoice)? bolt11,
TResult Function(String nodeId)? nodeId,
TResult Function(String url)? url,
TResult Function(LnUrlPayRequestData data)? lnUrlPay,
TResult Function(LnUrlWithdrawRequestData data)? lnUrlWithdraw,
TResult Function(LnUrlAuthRequestData data)? lnUrlAuth,
TResult Function(LnUrlErrorData data)? lnUrlError,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;