DockerRepository.fromJson constructor

DockerRepository.fromJson(
  1. Map json_
)

Implementation

DockerRepository.fromJson(core.Map json_)
    : this(
        customRepository: json_.containsKey('customRepository')
            ? GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository
                .fromJson(json_['customRepository']
                    as core.Map<core.String, core.dynamic>)
            : null,
        publicRepository: json_.containsKey('publicRepository')
            ? json_['publicRepository'] as core.String
            : null,
      );