form1099TypeListToJson function

List<String> form1099TypeListToJson(
  1. List<Form1099Type>? form1099Type
)

Implementation

List<String> form1099TypeListToJson(List<enums.Form1099Type>? form1099Type) {
  if (form1099Type == null) {
    return [];
  }

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