maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult $default(
- Element ideal,
- BillingDetails? billingDetails
- TResult withBank(
- IdealBankData ideal,
- BillingDetails? billingDetails
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>(
TResult Function(@ElementConverter() Element ideal,
@JsonKey(name: "billing_details") BillingDetails? billingDetails)?
$default, {
TResult Function(IdealBankData ideal,
@JsonKey(name: "billing_details") BillingDetails? billingDetails)?
withBank,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;