toJson method
Implementation
Map<String, String?> toJson() {
return {
'source': source.toJsonString(),
'ipAddress': ipAddress,
'location': location,
'modelName': modelName,
'printerName': printerName,
'serialNumber': serialNumber,
'nodeName': nodeName,
'macAddress': macAddress,
'bleAdvertiseLocalName': bleAdvertiseLocalName,
};
}