PublisherJob.fromJson constructor
Creates a PublisherJob from JSON configuration.
json- JSON object containing publisher configurationvariables- Variable processor for argument substitution
Returns a new PublisherJob instance with publisher-specific arguments
parsed from the JSON configuration.
Implementation
factory PublisherJob.fromJson(
Map<String, dynamic> json,
Variables variables,
) {
return PublisherJob(
fastlane: json["fastlane"] != null
? fastlane_publisher.Arguments.fromJson(
json["fastlane"],
variables: variables,
)
: null,
firebase: json["firebase"] != null
? firebase_publisher.Arguments.fromJson(
json["firebase"],
variables: variables,
)
: null,
xcrun: json["xcrun"] != null
? xcrun_publisher.Arguments.fromJson(
json["xcrun"],
variables: variables,
)
: null,
github: json["github"] != null
? github_publisher.Arguments.fromJson(
json["github"],
variables: variables,
)
: null,
);
}