GoogleCloudRunV2ContainerOverride.fromJson constructor

GoogleCloudRunV2ContainerOverride.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRunV2ContainerOverride.fromJson(core.Map json_)
    : this(
        args: json_.containsKey('args')
            ? (json_['args'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        clearArgs: json_.containsKey('clearArgs')
            ? json_['clearArgs'] as core.bool
            : null,
        env: json_.containsKey('env')
            ? (json_['env'] as core.List)
                .map((value) => GoogleCloudRunV2EnvVar.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );