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