outputDynacalPanelTypeBlueModeGetSetNullableFromJson function

OutputDynacalPanelTypeBlueModeGetSet? outputDynacalPanelTypeBlueModeGetSetNullableFromJson(
  1. Object? outputDynacalPanelTypeBlueModeGetSet, [
  2. OutputDynacalPanelTypeBlueModeGetSet? defaultValue
])

Implementation

enums.OutputDynacalPanelTypeBlueModeGetSet?
    outputDynacalPanelTypeBlueModeGetSetNullableFromJson(
  Object? outputDynacalPanelTypeBlueModeGetSet, [
  enums.OutputDynacalPanelTypeBlueModeGetSet? defaultValue,
]) {
  if (outputDynacalPanelTypeBlueModeGetSet == null) {
    return null;
  }
  return enums.OutputDynacalPanelTypeBlueModeGetSet.values.firstWhereOrNull(
          (e) => e.value == outputDynacalPanelTypeBlueModeGetSet) ??
      defaultValue;
}