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