GetParallelDataResponse.fromJson constructor

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

Implementation

factory GetParallelDataResponse.fromJson(Map<String, dynamic> json) {
  return GetParallelDataResponse(
    auxiliaryDataLocation: json['AuxiliaryDataLocation'] != null
        ? ParallelDataDataLocation.fromJson(
            json['AuxiliaryDataLocation'] as Map<String, dynamic>)
        : null,
    dataLocation: json['DataLocation'] != null
        ? ParallelDataDataLocation.fromJson(
            json['DataLocation'] as Map<String, dynamic>)
        : null,
    latestUpdateAttemptAuxiliaryDataLocation:
        json['LatestUpdateAttemptAuxiliaryDataLocation'] != null
            ? ParallelDataDataLocation.fromJson(
                json['LatestUpdateAttemptAuxiliaryDataLocation']
                    as Map<String, dynamic>)
            : null,
    parallelDataProperties: json['ParallelDataProperties'] != null
        ? ParallelDataProperties.fromJson(
            json['ParallelDataProperties'] as Map<String, dynamic>)
        : null,
  );
}