OmiseFlutter constructor Null safety

OmiseFlutter(
  1. String publicKey,
  2. [String apiVersion = '2019-05-29']
)

Implementation

OmiseFlutter(this.publicKey, [this.apiVersion = '2019-05-29']) {
  //
  _client = new Client(publicKey, apiVersion);
  _client.version = _VERSION;
  _initResources();
}