itemsToJson static method

String itemsToJson(
  1. List<ATHMovilItem>? items
)

Implementation

static String itemsToJson(List<ATHMovilItem>? items) {
  String json = "";
  if (items != null) {
    json = "";
    items.forEach((element) {
      json = json + "\n" + element.toJson().toString();
    });
  }
  return json;
}