accountSelectionCardinalityListToJson function
List<String>
accountSelectionCardinalityListToJson(
- List<
AccountSelectionCardinality> ? accountSelectionCardinality
Implementation
List<String> accountSelectionCardinalityListToJson(
List<enums.AccountSelectionCardinality>? accountSelectionCardinality) {
if (accountSelectionCardinality == null) {
return [];
}
return accountSelectionCardinality
.map((e) => enums.$AccountSelectionCardinalityMap[e]!)
.toList();
}