maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>(
  1. TResult $default(
    1. _IdealPaymentMethodDetails value
    )?, {
  2. TResult withBank(
    1. _IdealPaymentMethodDetailsSelfCollect value
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>(
  TResult Function(_IdealPaymentMethodDetails value)? $default, {
  TResult Function(_IdealPaymentMethodDetailsSelfCollect value)? withBank,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;