map<TResult extends Object?> method

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

Implementation

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