inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSetNullableFromJson function
InputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet?
inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSetNullableFromJson(
- Object? inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet, [
- InputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet? defaultValue
Implementation
enums.InputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet?
inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSetNullableFromJson(
Object? inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet, [
enums.InputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet?
defaultValue,
]) {
if (inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet == null) {
return null;
}
return enums
.InputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet.values
.firstWhereOrNull((e) =>
e.value ==
inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet) ??
defaultValue;
}