JobNodeDetails.fromJson constructor

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

Implementation

factory JobNodeDetails.fromJson(Map<String, dynamic> json) {
  return JobNodeDetails(
    jobRuns: (json['JobRuns'] as List?)
        ?.whereNotNull()
        .map((e) => JobRun.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}