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