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