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