toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (deviceId != null) 'deviceId': deviceId!,
  if (displayName != null) 'displayName': displayName!,
  if (edidVersion != null) 'edidVersion': edidVersion!,
  if (isInternal != null) 'isInternal': isInternal!,
  if (refreshRate != null) 'refreshRate': refreshRate!,
  if (resolutionHeight != null) 'resolutionHeight': resolutionHeight!,
  if (resolutionWidth != null) 'resolutionWidth': resolutionWidth!,
  if (serialNumber != null) 'serialNumber': serialNumber!,
};