OSPolicyResourceRepositoryResourceAptRepository.fromJson constructor
OSPolicyResourceRepositoryResourceAptRepository.fromJson(
- Map _json
Implementation
OSPolicyResourceRepositoryResourceAptRepository.fromJson(core.Map _json)
: this(
archiveType: _json.containsKey('archiveType')
? _json['archiveType'] as core.String
: null,
components: _json.containsKey('components')
? (_json['components'] as core.List)
.map<core.String>((value) => value as core.String)
.toList()
: null,
distribution: _json.containsKey('distribution')
? _json['distribution'] as core.String
: null,
gpgKey: _json.containsKey('gpgKey')
? _json['gpgKey'] as core.String
: null,
uri: _json.containsKey('uri') ? _json['uri'] as core.String : null,
);