toJson method
Converts the DeviceProperties to a JSON object.
Implementation
Map<String, dynamic> toJson() {
return {
'manufacturer': manufacturer,
'model': model,
};
}
Converts the DeviceProperties to a JSON object.
Map<String, dynamic> toJson() {
return {
'manufacturer': manufacturer,
'model': model,
};
}