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