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