whenOrNull<TResult extends Object?> method
- @optionalTypeArgs
- TResult? $default(
- Element sepaDebit,
- SepaBillingDetails? billingDetails
- TResult? id(
- String id
- TResult? withIban(
- SepaDebitIbanData sepaDebit,
- SepaBillingDetails? billingDetails
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<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,
}) =>
throw _privateConstructorUsedError;