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 (Platform.isAndroid) {
    lookUpMap[this.androidPackageName] = this;
  } else {
    lookUpMap[this.iosBundleId] = this;
  }
}