NpmRepository.fromJson constructor
NpmRepository.fromJson(
- Map json_
Implementation
NpmRepository.fromJson(core.Map json_)
: this(
customRepository: json_.containsKey('customRepository')
? GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository
.fromJson(json_['customRepository']
as core.Map<core.String, core.dynamic>)
: null,
publicRepository: json_.containsKey('publicRepository')
? json_['publicRepository'] as core.String
: null,
);