maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult redirectToUrl(
    1. String? redirectUrl
    )?,
  2. TResult displayOxxoDetails(
    1. int? expiration,
    2. String? voucherURL,
    3. String? voucherNumber
    )?,
  3. TResult wechatPayRedirect(
    1. String? redirectUrl
    )?,
  4. TResult verifyWithMicroDeposits(
    1. String? arrivalDate,
    2. String? redirectUrl,
    3. String? microdepositType
    )?,
  5. TResult multibanco(
    1. String? voucherURL
    )?,
  6. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(String? redirectUrl)? redirectToUrl,
  TResult Function(
          int? expiration, String? voucherURL, String? voucherNumber)?
      displayOxxoDetails,
  TResult Function(String? redirectUrl)? wechatPayRedirect,
  TResult Function(
          String? arrivalDate, String? redirectUrl, String? microdepositType)?
      verifyWithMicroDeposits,
  TResult Function(String? voucherURL)? multibanco,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;