whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<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
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<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,
}) =>
    throw _privateConstructorUsedError;