outputNetworkShuttersyncModeGetSetNullableFromJson function
OutputNetworkShuttersyncModeGetSet?
outputNetworkShuttersyncModeGetSetNullableFromJson(
- Object? outputNetworkShuttersyncModeGetSet, [
- 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;
}