YumRepository.fromJson constructor

YumRepository.fromJson(
  1. Map json_
)

Implementation

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