GoogleCloudAiplatformV1ContainerSpec.fromJson constructor

GoogleCloudAiplatformV1ContainerSpec.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ContainerSpec.fromJson(core.Map json_)
    : this(
        args: json_.containsKey('args')
            ? (json_['args'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        command: json_.containsKey('command')
            ? (json_['command'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        env: json_.containsKey('env')
            ? (json_['env'] as core.List)
                .map((value) => GoogleCloudAiplatformV1EnvVar.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        imageUri: json_.containsKey('imageUri')
            ? json_['imageUri'] as core.String
            : null,
      );