strategyNullableListFromJson function
Implementation
List<enums.Strategy>? strategyNullableListFromJson(
List? strategy, [
List<enums.Strategy>? defaultValue,
]) {
if (strategy == null) {
return defaultValue;
}
return strategy.map((e) => strategyFromJson(e.toString())).toList();
}