SoftwarePackage.fromJson constructor
SoftwarePackage.fromJson(
- Map json_
Implementation
SoftwarePackage.fromJson(core.Map json_)
: this(
aptPackage: json_.containsKey('aptPackage')
? VersionedPackage.fromJson(
json_['aptPackage'] as core.Map<core.String, core.dynamic>)
: null,
cosPackage: json_.containsKey('cosPackage')
? VersionedPackage.fromJson(
json_['cosPackage'] as core.Map<core.String, core.dynamic>)
: null,
googetPackage: json_.containsKey('googetPackage')
? VersionedPackage.fromJson(
json_['googetPackage'] as core.Map<core.String, core.dynamic>)
: null,
qfePackage: json_.containsKey('qfePackage')
? WindowsQuickFixEngineeringPackage.fromJson(
json_['qfePackage'] as core.Map<core.String, core.dynamic>)
: null,
windowsApplication: json_.containsKey('windowsApplication')
? WindowsApplication.fromJson(json_['windowsApplication']
as core.Map<core.String, core.dynamic>)
: null,
wuaPackage: json_.containsKey('wuaPackage')
? WindowsUpdatePackage.fromJson(
json_['wuaPackage'] as core.Map<core.String, core.dynamic>)
: null,
yumPackage: json_.containsKey('yumPackage')
? VersionedPackage.fromJson(
json_['yumPackage'] as core.Map<core.String, core.dynamic>)
: null,
zypperPackage: json_.containsKey('zypperPackage')
? VersionedPackage.fromJson(
json_['zypperPackage'] as core.Map<core.String, core.dynamic>)
: null,
zypperPatch: json_.containsKey('zypperPatch')
? ZypperPatch.fromJson(
json_['zypperPatch'] as core.Map<core.String, core.dynamic>)
: null,
);