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