toMap method

  1. @override
Map<String, dynamic> toMap()
override

Serializes WindowsDeviceInfo to a map.

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    'computerName': computerName,
    'numberOfCores': numberOfCores,
    'systemMemoryInMegabytes': systemMemoryInMegabytes,
  };
}