GooglePayParams.of constructor

GooglePayParams.of({
  1. required String merchantId,
  2. required int amount,
  3. required String currency,
  4. bool isSandbox = false,
})

Implementation

GooglePayParams.of(
    {required String merchantId,
    required int amount,
    required String currency,
    bool isSandbox = false})
    : this._merchantId = merchantId,
      this._amount = amount,
      this._currency = currency,
      this._isSandbox = isSandbox;