toJson method
Implementation
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
if (brands != null) {
map['brands'] = brands?.map((i) => i.toJson()).toList();
}
if (fullVersionList != null) {
map['fullVersionList'] = fullVersionList?.map((i) => i.toJson()).toList();
}
if (fullVersion != null) {
map['fullVersion'] = fullVersion;
}
map['platform'] = platform;
map['platformVersion'] = platformVersion;
map['architecture'] = architecture;
map['model'] = model;
map['mobile'] = mobile;
if (bitness != null) {
map['bitness'] = bitness;
}
if (wow64 != null) {
map['wow64'] = wow64;
}
if (formFactors != null) {
map['formFactors'] = formFactors;
}
return map;
}