GoogleCloudRunV2Overrides.fromJson constructor

GoogleCloudRunV2Overrides.fromJson(
  1. Map json_
)

Implementation

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