maybeMap<TResult extends Object?> method

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

Implementation

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