maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult checkCode(
    1. CheckCode value
    )?,
  2. TResult getWallets(
    1. GetWallets value
    )?,
  3. TResult createCard(
    1. CreateCard value
    )?,
  4. TResult deleteCard(
    1. DeleteCard value
    )?,
  5. TResult topUp(
    1. TopUp value
    )?,
  6. TResult withdraw(
    1. Withdraw value
    )?,
  7. TResult selectIndex(
    1. SelectIndex value
    )?,
  8. TResult getTransaction(
    1. GetTransaction value
    )?,
  9. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(CheckCode value)? checkCode,
  TResult Function(GetWallets value)? getWallets,
  TResult Function(CreateCard value)? createCard,
  TResult Function(DeleteCard value)? deleteCard,
  TResult Function(TopUp value)? topUp,
  TResult Function(Withdraw value)? withdraw,
  TResult Function(SelectIndex value)? selectIndex,
  TResult Function(GetTransaction value)? getTransaction,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;