BatchStopJobRunResponse.fromJson constructor
BatchStopJobRunResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory BatchStopJobRunResponse.fromJson(Map<String, dynamic> json) {
return BatchStopJobRunResponse(
errors: (json['Errors'] as List?)
?.whereNotNull()
.map((e) => BatchStopJobRunError.fromJson(e as Map<String, dynamic>))
.toList(),
successfulSubmissions: (json['SuccessfulSubmissions'] as List?)
?.whereNotNull()
.map((e) => BatchStopJobRunSuccessfulSubmission.fromJson(
e as Map<String, dynamic>))
.toList(),
);
}