toMap method
As a map.
Implementation
Map<String, Object?> toMap() => <String, Object?>{
"platform": platform,
"os": os,
"osVersion": osVersion,
"osBuild": osBuild,
"sdkInt": sdkInt,
"model": model,
"manufacturer": manufacturer,
"brand": brand,
"name": name,
"type": type.name,
"physical": isPhysical,
"id": id,
"arch": cpuArch,
"cores": cpuCores,
"memory": totalMemory,
"locales": locales,
"timeZone": timeZone,
"is24h": is24HourFormat,
"extra": extra,
};