PayEngineConfig constructor

PayEngineConfig({
  1. required String publicKey,
  2. String? version,
  3. String? scriptURL,
  4. int? logLevel,
})

Creates an instance of PayEngineConfig.

  • publicKey (required): The public key for authentication.
  • version: The version of the PayEngine integration.
  • scriptURL: The script URL for the PayEngine JavaScript library.
  • logLevel: The log level for debugging.

Implementation

PayEngineConfig({
  required this.publicKey,
  this.version,
  this.scriptURL,
  this.logLevel,
});