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