CreateBuildOutput.fromJson constructor

CreateBuildOutput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CreateBuildOutput.fromJson(Map<String, dynamic> json) {
  return CreateBuildOutput(
    build: json['Build'] != null
        ? Build.fromJson(json['Build'] as Map<String, dynamic>)
        : null,
    storageLocation: json['StorageLocation'] != null
        ? S3Location.fromJson(json['StorageLocation'] as Map<String, dynamic>)
        : null,
    uploadCredentials: json['UploadCredentials'] != null
        ? AwsCredentials.fromJson(
            json['UploadCredentials'] as Map<String, dynamic>)
        : null,
  );
}