mapOrNull<TResult extends Object?> method

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

Implementation

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