webApiIncludeExcludeAllListFromJson function
List<WebApiIncludeExcludeAll>
webApiIncludeExcludeAllListFromJson(
- List? webApiIncludeExcludeAll, [
- List<
WebApiIncludeExcludeAll> ? defaultValue
Implementation
List<enums.WebApiIncludeExcludeAll> webApiIncludeExcludeAllListFromJson(
List? webApiIncludeExcludeAll, [
List<enums.WebApiIncludeExcludeAll>? defaultValue,
]) {
if (webApiIncludeExcludeAll == null) {
return defaultValue ?? [];
}
return webApiIncludeExcludeAll
.map((e) => webApiIncludeExcludeAllFromJson(e.toString()))
.toList();
}