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