when<TResult extends Object?> method

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

Implementation

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