outputDynacalPanelTypeGreenModeGetSetFromJson function

OutputDynacalPanelTypeGreenModeGetSet outputDynacalPanelTypeGreenModeGetSetFromJson(
  1. Object? outputDynacalPanelTypeGreenModeGetSet, [
  2. OutputDynacalPanelTypeGreenModeGetSet? defaultValue
])

Implementation

enums.OutputDynacalPanelTypeGreenModeGetSet
    outputDynacalPanelTypeGreenModeGetSetFromJson(
  Object? outputDynacalPanelTypeGreenModeGetSet, [
  enums.OutputDynacalPanelTypeGreenModeGetSet? defaultValue,
]) {
  return enums.OutputDynacalPanelTypeGreenModeGetSet.values.firstWhereOrNull(
          (e) =>
              e.value.toString().toLowerCase() ==
              outputDynacalPanelTypeGreenModeGetSet
                  ?.toString()
                  .toLowerCase()) ??
      defaultValue ??
      enums.OutputDynacalPanelTypeGreenModeGetSet.swaggerGeneratedUnknown;
}