IsGooglePaySupportedParams constructor

  1. @JsonSerializable(explicitToJson: true)
const IsGooglePaySupportedParams({
  1. @Default(false) bool testEnv,
  2. @Default(false) bool existingPaymentMethodRequired,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory IsGooglePaySupportedParams({
  /// Flag to use test environment or live environment.
  ///
  /// Defaults to `false`.
  @Default(false) bool testEnv,

  /// When set to true Google pay is only considered ready in case the
  /// customers google Pay wallet has an existing payment method configured.
  ///
  /// Defaults to `false`.
  @Default(false) bool existingPaymentMethodRequired,
}) = _IsGooglePaySupportedParams;