outputDynacalPanelTypeRedModeGetSetFromJson function

OutputDynacalPanelTypeRedModeGetSet outputDynacalPanelTypeRedModeGetSetFromJson(
  1. Object? outputDynacalPanelTypeRedModeGetSet, [
  2. OutputDynacalPanelTypeRedModeGetSet? defaultValue
])

Implementation

enums.OutputDynacalPanelTypeRedModeGetSet
    outputDynacalPanelTypeRedModeGetSetFromJson(
  Object? outputDynacalPanelTypeRedModeGetSet, [
  enums.OutputDynacalPanelTypeRedModeGetSet? defaultValue,
]) {
  return enums.OutputDynacalPanelTypeRedModeGetSet.values.firstWhereOrNull(
          (e) =>
              e.value.toString().toLowerCase() ==
              outputDynacalPanelTypeRedModeGetSet?.toString().toLowerCase()) ??
      defaultValue ??
      enums.OutputDynacalPanelTypeRedModeGetSet.swaggerGeneratedUnknown;
}