UpiApplication constructor

UpiApplication({
  1. required String androidPackageName,
  2. String? iosBundleId,
  3. required String appName,
  4. String? discoveryCustomScheme,
})

Implementation

UpiApplication({
  required this.androidPackageName,
  this.iosBundleId,
  required this.appName,
  this.discoveryCustomScheme,
}) {
  if (io.Platform.isAndroid) {
    lookUpMap[this.androidPackageName] = this;
  } else if (this.iosBundleId != null) {
    lookUpMap[this.iosBundleId!] = this;
  }
}