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