WindowsDetail.fromJson constructor
WindowsDetail.fromJson(
- Map _json
Implementation
WindowsDetail.fromJson(core.Map _json)
: this(
cpeUri: _json.containsKey('cpeUri')
? _json['cpeUri'] as core.String
: null,
description: _json.containsKey('description')
? _json['description'] as core.String
: null,
fixingKbs: _json.containsKey('fixingKbs')
? (_json['fixingKbs'] as core.List)
.map((value) => KnowledgeBase.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
name: _json.containsKey('name') ? _json['name'] as core.String : null,
);