transferStatusListToJson function

List<String> transferStatusListToJson(
  1. List<TransferStatus>? transferStatus
)

Implementation

List<String> transferStatusListToJson(
    List<enums.TransferStatus>? transferStatus) {
  if (transferStatus == null) {
    return [];
  }

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