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