when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>(
  1. TResult $default(
    1. Element ideal,
    2. BillingDetails? billingDetails
    ), {
  2. required TResult withBank(
    1. IdealBankData ideal,
    2. BillingDetails? billingDetails
    ),
})
inherited

Implementation

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