addressPurposeLabelListToJson function
Implementation
List<String> addressPurposeLabelListToJson(
List<enums.AddressPurposeLabel>? addressPurposeLabel) {
if (addressPurposeLabel == null) {
return [];
}
return addressPurposeLabel
.map((e) => enums.$AddressPurposeLabelMap[e]!)
.toList();
}