webApiIncludeExcludeAllListToJson function
List<String>
webApiIncludeExcludeAllListToJson(
- List<
WebApiIncludeExcludeAll> ? webApiIncludeExcludeAll
Implementation
List<String> webApiIncludeExcludeAllListToJson(
List<enums.WebApiIncludeExcludeAll>? webApiIncludeExcludeAll) {
if (webApiIncludeExcludeAll == null) {
return [];
}
return webApiIncludeExcludeAll.map((e) => e.value!).toList();
}