outputDynacalPanelTypeModeGetSetNullableFromJson function

OutputDynacalPanelTypeModeGetSet? outputDynacalPanelTypeModeGetSetNullableFromJson(
  1. Object? outputDynacalPanelTypeModeGetSet, [
  2. 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;
}