toJson method

Map toJson()

Implementation

Map toJson() {
  Map data = Map();
  data.putIfNotNull("resource", resource);
  data.putIfNotNull("deviceUUID", deviceUUID);
  data.putIfNotNull("deviceName", deviceName);

  return data;
}