MavenRepository.fromJson constructor

MavenRepository.fromJson(
  1. Map json_
)

Implementation

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