toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (deviceId != null) 'deviceId': deviceId!,
if (deviceModel != null) 'deviceModel': deviceModel!,
if (deviceProperty != null) 'deviceProperty': deviceProperty!,
if (deviceType != null) 'deviceType': deviceType!,
if (iosVendorId != null) 'iosVendorId': iosVendorId!,
if (newValue != null) 'newValue': newValue!,
if (oldValue != null) 'oldValue': oldValue!,
if (resourceId != null) 'resourceId': resourceId!,
if (serialNumber != null) 'serialNumber': serialNumber!,
};