totalCanonicalDescriptionNullableListFromJson function
List<TotalCanonicalDescription> ?
totalCanonicalDescriptionNullableListFromJson(
- List? totalCanonicalDescription, [
- List<
TotalCanonicalDescription> ? defaultValue
Implementation
List<enums.TotalCanonicalDescription>?
totalCanonicalDescriptionNullableListFromJson(
List? totalCanonicalDescription, [
List<enums.TotalCanonicalDescription>? defaultValue,
]) {
if (totalCanonicalDescription == null) {
return defaultValue;
}
return totalCanonicalDescription
.map((e) => totalCanonicalDescriptionFromJson(e.toString()))
.toList();
}