OSPolicyResourceRepositoryResource.fromJson constructor
OSPolicyResourceRepositoryResource.fromJson(
- Map _json
Implementation
OSPolicyResourceRepositoryResource.fromJson(core.Map _json)
: this(
apt: _json.containsKey('apt')
? OSPolicyResourceRepositoryResourceAptRepository.fromJson(
_json['apt'] as core.Map<core.String, core.dynamic>)
: null,
goo: _json.containsKey('goo')
? OSPolicyResourceRepositoryResourceGooRepository.fromJson(
_json['goo'] as core.Map<core.String, core.dynamic>)
: null,
yum: _json.containsKey('yum')
? OSPolicyResourceRepositoryResourceYumRepository.fromJson(
_json['yum'] as core.Map<core.String, core.dynamic>)
: null,
zypper: _json.containsKey('zypper')
? OSPolicyResourceRepositoryResourceZypperRepository.fromJson(
_json['zypper'] as core.Map<core.String, core.dynamic>)
: null,
);