maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult $default(
- Element sepaDebit,
- SepaBillingDetails? billingDetails
- TResult id(
- String id
- TResult withIban(
- SepaDebitIbanData sepaDebit,
- SepaBillingDetails? billingDetails
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>(
TResult Function(
@JsonKey(name: "sepa_debit") @ElementConverter() Element sepaDebit,
@JsonKey(name: "billing_details")
SepaBillingDetails? billingDetails)?
$default, {
TResult Function(String id)? id,
TResult Function(
@JsonKey(name: "sepa_debit") SepaDebitIbanData sepaDebit,
@JsonKey(name: "billing_details")
SepaBillingDetails? billingDetails)?
withIban,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;