outputNetworkGenlockPhaseOffsetModeGetSetNullableListFromJson function

List<OutputNetworkGenlockPhaseOffsetModeGetSet>? outputNetworkGenlockPhaseOffsetModeGetSetNullableListFromJson(
  1. List? outputNetworkGenlockPhaseOffsetModeGetSet, [
  2. List<OutputNetworkGenlockPhaseOffsetModeGetSet>? defaultValue
])

Implementation

List<enums.OutputNetworkGenlockPhaseOffsetModeGetSet>?
    outputNetworkGenlockPhaseOffsetModeGetSetNullableListFromJson(
  List? outputNetworkGenlockPhaseOffsetModeGetSet, [
  List<enums.OutputNetworkGenlockPhaseOffsetModeGetSet>? defaultValue,
]) {
  if (outputNetworkGenlockPhaseOffsetModeGetSet == null) {
    return defaultValue;
  }

  return outputNetworkGenlockPhaseOffsetModeGetSet
      .map((e) =>
          outputNetworkGenlockPhaseOffsetModeGetSetFromJson(e.toString()))
      .toList();
}