BuilderJob.fromJson constructor
Creates a BuilderJob from JSON configuration.
json- JSON object containing build configurationvariables- Variable processor for argument substitution
Returns a new BuilderJob instance with platform-specific arguments
parsed from the JSON configuration.
Implementation
factory BuilderJob.fromJson(Map<String, dynamic> json, Variables variables) {
return BuilderJob(
android: json["android"] != null
? android_arguments.Arguments.fromJson(
json["android"],
variables: variables,
)
: null,
ios: json["ios"] != null
? ios_arguments.Arguments.fromJson(json["ios"], variables: variables)
: null,
);
}