App.create constructor

App.create({
  1. required String name,
  2. required String package,
  3. required String platform,
  4. String? versionCode,
  5. String? versionName,
})

Implementation

factory App.create({
  required String name,
  required String package,
  required String platform,
  String? versionCode,
  String? versionName,
}) {
  _Version version = new _Version(code: versionCode, name: versionName);
  return App(name: name, package: package, platform: platform, version: version);
}