outputNetworkGenlockSourceGetSetNullableListFromJson function

List<OutputNetworkGenlockSourceGetSet>? outputNetworkGenlockSourceGetSetNullableListFromJson(
  1. List? outputNetworkGenlockSourceGetSet, [
  2. List<OutputNetworkGenlockSourceGetSet>? defaultValue
])

Implementation

List<enums.OutputNetworkGenlockSourceGetSet>?
    outputNetworkGenlockSourceGetSetNullableListFromJson(
  List? outputNetworkGenlockSourceGetSet, [
  List<enums.OutputNetworkGenlockSourceGetSet>? defaultValue,
]) {
  if (outputNetworkGenlockSourceGetSet == null) {
    return defaultValue;
  }

  return outputNetworkGenlockSourceGetSet
      .map((e) => outputNetworkGenlockSourceGetSetFromJson(e.toString()))
      .toList();
}