map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult googlePay(
    1. PlatformPayPaymentMethodParamsGooglePay value
    ),
  2. required TResult applePay(
    1. PlatformPayPaymentMethodParamsApplePay value
    ),
  3. required TResult web(
    1. PlatformPayPaymentMethodParamsWeb value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(PlatformPayPaymentMethodParamsGooglePay value)
      googlePay,
  required TResult Function(PlatformPayPaymentMethodParamsApplePay value)
      applePay,
  required TResult Function(PlatformPayPaymentMethodParamsWeb value) web,
}) =>
    throw _privateConstructorUsedError;