outputNetworkShuttersyncModeGetSetListFromJson function

List<OutputNetworkShuttersyncModeGetSet> outputNetworkShuttersyncModeGetSetListFromJson(
  1. List? outputNetworkShuttersyncModeGetSet, [
  2. List<OutputNetworkShuttersyncModeGetSet>? defaultValue
])

Implementation

List<enums.OutputNetworkShuttersyncModeGetSet>
    outputNetworkShuttersyncModeGetSetListFromJson(
  List? outputNetworkShuttersyncModeGetSet, [
  List<enums.OutputNetworkShuttersyncModeGetSet>? defaultValue,
]) {
  if (outputNetworkShuttersyncModeGetSet == null) {
    return defaultValue ?? [];
  }

  return outputNetworkShuttersyncModeGetSet
      .map((e) => outputNetworkShuttersyncModeGetSetFromJson(e.toString()))
      .toList();
}