ChildRolloutJobs.fromJson constructor

ChildRolloutJobs.fromJson(
  1. Map json_
)

Implementation

ChildRolloutJobs.fromJson(core.Map json_)
    : this(
        advanceRolloutJobs: json_.containsKey('advanceRolloutJobs')
            ? (json_['advanceRolloutJobs'] as core.List)
                .map((value) => Job.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        createRolloutJobs: json_.containsKey('createRolloutJobs')
            ? (json_['createRolloutJobs'] as core.List)
                .map((value) => Job.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );