taxpayerIdentifierTypeListToJson function
List<String>
taxpayerIdentifierTypeListToJson(
- List<
TaxpayerIdentifierType> ? taxpayerIdentifierType
Implementation
List<String> taxpayerIdentifierTypeListToJson(
List<enums.TaxpayerIdentifierType>? taxpayerIdentifierType) {
if (taxpayerIdentifierType == null) {
return [];
}
return taxpayerIdentifierType
.map((e) => enums.$TaxpayerIdentifierTypeMap[e]!)
.toList();
}