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