outputNetworkShuttersyncModeGetSetFromJson function

OutputNetworkShuttersyncModeGetSet outputNetworkShuttersyncModeGetSetFromJson(
  1. Object? outputNetworkShuttersyncModeGetSet, [
  2. OutputNetworkShuttersyncModeGetSet? defaultValue
])

Implementation

enums.OutputNetworkShuttersyncModeGetSet
    outputNetworkShuttersyncModeGetSetFromJson(
  Object? outputNetworkShuttersyncModeGetSet, [
  enums.OutputNetworkShuttersyncModeGetSet? defaultValue,
]) {
  return enums.OutputNetworkShuttersyncModeGetSet.values.firstWhereOrNull((e) =>
          e.value.toString().toLowerCase() ==
          outputNetworkShuttersyncModeGetSet?.toString().toLowerCase()) ??
      defaultValue ??
      enums.OutputNetworkShuttersyncModeGetSet.swaggerGeneratedUnknown;
}