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