BuilderJob constructor

BuilderJob({
  1. Arguments? android,
  2. Arguments? ios,
})

Creates a new BuilderJob instance.

  • android - Android build arguments (optional)
  • ios - iOS build arguments (optional)

At least one platform must be specified. Sets up parent-child relationships for proper configuration inheritance.

Throws Exception if both platforms are null.

Implementation

BuilderJob({this.android, this.ios}) {
  if (android == null && ios == null) {
    throw Exception("Android or iOS build argument must be provided.");
  }
  // Establish parent-child relationships for configuration hierarchy
  android?.parent = this;
  ios?.parent = this;
}