maybeMap<TResult extends Object?> method
- @optionalTypeArgs
- TResult $default(
- _CardPaymentMethodDefault value
- TResult id(
- _CardPaymentMethodRef value
- TResult token(
- _CardPaymentMethodDetailsToken value
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>(
TResult Function(_CardPaymentMethodDefault value)? $default, {
TResult Function(_CardPaymentMethodRef value)? id,
TResult Function(_CardPaymentMethodDetailsToken value)? token,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;