Overrides.fromJson constructor

Overrides.fromJson(
  1. Map json_
)

Implementation

Overrides.fromJson(core.Map json_)
    : this(
        containerOverrides: json_.containsKey('containerOverrides')
            ? (json_['containerOverrides'] as core.List)
                .map((value) => ContainerOverride.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        taskCount: json_.containsKey('taskCount')
            ? json_['taskCount'] as core.int
            : null,
        timeoutSeconds: json_.containsKey('timeoutSeconds')
            ? json_['timeoutSeconds'] as core.int
            : null,
      );