toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (deviceId != null) 'deviceId': deviceId!,
      if (deviceOrgUnitId != null) 'deviceOrgUnitId': deviceOrgUnitId!,
      if (telemetryEventNotificationFilter != null)
        'telemetryEventNotificationFilter': telemetryEventNotificationFilter!,
      if (userEmail != null) 'userEmail': userEmail!,
      if (userOrgUnitId != null) 'userOrgUnitId': userOrgUnitId!,
    };