maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult bitcoinAddress(
    1. InputType_BitcoinAddress value
    )?,
  2. TResult bolt11(
    1. InputType_Bolt11 value
    )?,
  3. TResult nodeId(
    1. InputType_NodeId value
    )?,
  4. TResult url(
    1. InputType_Url value
    )?,
  5. TResult lnUrlPay(
    1. InputType_LnUrlPay value
    )?,
  6. TResult lnUrlWithdraw(
    1. InputType_LnUrlWithdraw value
    )?,
  7. TResult lnUrlAuth(
    1. InputType_LnUrlAuth value
    )?,
  8. TResult lnUrlError(
    1. InputType_LnUrlError value
    )?,
  9. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(InputType_BitcoinAddress value)? bitcoinAddress,
  TResult Function(InputType_Bolt11 value)? bolt11,
  TResult Function(InputType_NodeId value)? nodeId,
  TResult Function(InputType_Url value)? url,
  TResult Function(InputType_LnUrlPay value)? lnUrlPay,
  TResult Function(InputType_LnUrlWithdraw value)? lnUrlWithdraw,
  TResult Function(InputType_LnUrlAuth value)? lnUrlAuth,
  TResult Function(InputType_LnUrlError value)? lnUrlError,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;