getBuilds method

List<BuildSettings> getBuilds({
  1. bool apk = true,
  2. bool appbundle = true,
  3. bool ipa = true,
})

Implementation

List<BuildSettings> getBuilds({
  bool apk = true,
  bool appbundle = true,
  bool ipa = true,
}) {
  return [
    if (apk && this.apk != null) this.apk!,
    if (appbundle && this.appbundle != null) this.appbundle!,
    if (ipa && this.ipa != null) this.ipa!,
  ];
}