outputDynacalPanelTypeModeGetSetFromJson function

OutputDynacalPanelTypeModeGetSet outputDynacalPanelTypeModeGetSetFromJson(
  1. Object? outputDynacalPanelTypeModeGetSet, [
  2. OutputDynacalPanelTypeModeGetSet? defaultValue
])

Implementation

enums.OutputDynacalPanelTypeModeGetSet outputDynacalPanelTypeModeGetSetFromJson(
  Object? outputDynacalPanelTypeModeGetSet, [
  enums.OutputDynacalPanelTypeModeGetSet? defaultValue,
]) {
  return enums.OutputDynacalPanelTypeModeGetSet.values.firstWhereOrNull((e) =>
          e.value.toString().toLowerCase() ==
          outputDynacalPanelTypeModeGetSet?.toString().toLowerCase()) ??
      defaultValue ??
      enums.OutputDynacalPanelTypeModeGetSet.swaggerGeneratedUnknown;
}