toMap method
toMap is the method to convert the class to a map.
Implementation
Map<String, dynamic> toMap() {
return {
'soc': soc,
'cpu': cpu,
'vendor': vendor,
'cores': cores,
'machines': machines,
'cpuClockRange': cpuClockRange,
'cpuClocks': cpuClocks?.map((x) => x.toMap()).toList(),
'supportedAbis': supportedAbis,
'supported32bitAbis': supported32bitAbis,
'supported64bitAbis': supported64bitAbis,
'instructions': instructions,
'revision': revision,
'governer': governer,
'gpu': gpu,
'gpuVendor': gpuVendor,
'gpuVersion': gpuVersion,
'openglExtensions': openglExtensions,
};
}