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