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