toJson method

Map<String, dynamic> toJson()

Converts the DeviceProperties to a JSON object.

Implementation

Map<String, dynamic> toJson() {
  return {
    'manufacturer': manufacturer,
    'model': model,
  };
}