UpgradeNote.fromJson constructor
UpgradeNote.fromJson(
- Map json_
Implementation
UpgradeNote.fromJson(core.Map json_)
: this(
distributions: json_.containsKey('distributions')
? (json_['distributions'] as core.List)
.map((value) => UpgradeDistribution.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
package: json_.containsKey('package')
? json_['package'] as core.String
: null,
version: json_.containsKey('version')
? Version.fromJson(
json_['version'] as core.Map<core.String, core.dynamic>)
: null,
windowsUpdate: json_.containsKey('windowsUpdate')
? WindowsUpdate.fromJson(
json_['windowsUpdate'] as core.Map<core.String, core.dynamic>)
: null,
);