JobExecutionInfo.fromJson constructor

JobExecutionInfo.fromJson(
  1. Map _json
)

Implementation

JobExecutionInfo.fromJson(core.Map _json)
    : this(
        stages: _json.containsKey('stages')
            ? (_json['stages'] as core.Map<core.String, core.dynamic>).map(
                (key, item) => core.MapEntry(
                  key,
                  JobExecutionStageInfo.fromJson(
                      item as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
      );