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