outputNetworkGenlockPhaseOffsetModeGetSetListFromJson function
List<OutputNetworkGenlockPhaseOffsetModeGetSet>
outputNetworkGenlockPhaseOffsetModeGetSetListFromJson(
- List? outputNetworkGenlockPhaseOffsetModeGetSet, [
- List<
OutputNetworkGenlockPhaseOffsetModeGetSet> ? defaultValue
Implementation
List<enums.OutputNetworkGenlockPhaseOffsetModeGetSet>
outputNetworkGenlockPhaseOffsetModeGetSetListFromJson(
List? outputNetworkGenlockPhaseOffsetModeGetSet, [
List<enums.OutputNetworkGenlockPhaseOffsetModeGetSet>? defaultValue,
]) {
if (outputNetworkGenlockPhaseOffsetModeGetSet == null) {
return defaultValue ?? [];
}
return outputNetworkGenlockPhaseOffsetModeGetSet
.map((e) =>
outputNetworkGenlockPhaseOffsetModeGetSetFromJson(e.toString()))
.toList();
}