toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'deviceSerial': deviceSerial,
'deviceName': deviceName,
'deviceType': deviceType,
'status': status,
'supportWifi': supportWifi,
'netType': netType,
};
}