bodyTrack property

Map<String, Object> get bodyTrack
override

Implementation

Map<String, Object> get bodyTrack {
  var batchEvent = new Map<String, Object>();
  batchEvent.addEntries({
    "t": "BATCH",
    "ds": "APP",
  }.entries);
  List<Map<String, Object>> ret = [];
  this.listOfHits.forEach((element) {
    ret.add(element.bodyTrack);
  });
  batchEvent.addEntries({"h": ret}.entries);
  return batchEvent;
}