InputDeviceUhdSettings.fromJson constructor
InputDeviceUhdSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory InputDeviceUhdSettings.fromJson(Map<String, dynamic> json) {
return InputDeviceUhdSettings(
activeInput: (json['activeInput'] as String?)?.toInputDeviceActiveInput(),
configuredInput:
(json['configuredInput'] as String?)?.toInputDeviceConfiguredInput(),
deviceState: (json['deviceState'] as String?)?.toInputDeviceState(),
framerate: json['framerate'] as double?,
height: json['height'] as int?,
maxBitrate: json['maxBitrate'] as int?,
scanType: (json['scanType'] as String?)?.toInputDeviceScanType(),
width: json['width'] as int?,
);
}