fDXPartyTypeListToJson function

List<String> fDXPartyTypeListToJson(
  1. List<FDXPartyType>? fDXPartyType
)

Implementation

List<String> fDXPartyTypeListToJson(List<enums.FDXPartyType>? fDXPartyType) {
  if (fDXPartyType == null) {
    return [];
  }

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