outputNetworkShuttersyncModeGetSetNullableFromJson function

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

Implementation

enums.OutputNetworkShuttersyncModeGetSet?
    outputNetworkShuttersyncModeGetSetNullableFromJson(
  Object? outputNetworkShuttersyncModeGetSet, [
  enums.OutputNetworkShuttersyncModeGetSet? defaultValue,
]) {
  if (outputNetworkShuttersyncModeGetSet == null) {
    return null;
  }
  return enums.OutputNetworkShuttersyncModeGetSet.values.firstWhereOrNull(
          (e) => e.value == outputNetworkShuttersyncModeGetSet) ??
      defaultValue;
}