toJson method
Implementation
Map toJson() {
Map data = Map();
data.putIfNotNull("resource", resource);
data.putIfNotNull("deviceUUID", deviceUUID);
data.putIfNotNull("deviceName", deviceName);
return data;
}
Map toJson() {
Map data = Map();
data.putIfNotNull("resource", resource);
data.putIfNotNull("deviceUUID", deviceUUID);
data.putIfNotNull("deviceName", deviceName);
return data;
}