totalCanonicalDescriptionListToJson function
List<String>
totalCanonicalDescriptionListToJson(
- List<
TotalCanonicalDescription> ? totalCanonicalDescription
Implementation
List<String> totalCanonicalDescriptionListToJson(
List<enums.TotalCanonicalDescription>? totalCanonicalDescription) {
if (totalCanonicalDescription == null) {
return [];
}
return totalCanonicalDescription
.map((e) => enums.$TotalCanonicalDescriptionMap[e]!)
.toList();
}