transactionsRuleFieldListToJson function
Implementation
List<String> transactionsRuleFieldListToJson(
List<enums.TransactionsRuleField>? transactionsRuleField) {
if (transactionsRuleField == null) {
return [];
}
return transactionsRuleField
.map((e) => enums.$TransactionsRuleFieldMap[e]!)
.toList();
}