transferTypeListToJson function

List<String> transferTypeListToJson(
  1. List<TransferType>? transferType
)

Implementation

List<String> transferTypeListToJson(List<enums.TransferType>? transferType) {
  if (transferType == null) {
    return [];
  }

  return transferType.map((e) => enums.$TransferTypeMap[e]!).toList();
}