toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (deviceCount != null) 'deviceCount': deviceCount!,
  if (jobCount != null) 'jobCount': jobCount!,
  if (printerCount != null) 'printerCount': printerCount!,
  if (userEmail != null) 'userEmail': userEmail!,
  if (userId != null) 'userId': userId!,
};