bodyTrack property

  1. @override
Map<String, Object> get bodyTrack
override

Implementation

@override
Map<String, Object> get bodyTrack {
  // Create with basic information
  var customBody = new Map<String, Object>();
  customBody.addEntries(this.toJson().entries);
  // Add Type t , to identify this hit as activate from the lookup hits
  customBody.addEntries({'t': typeOfEvent}.entries);
  return customBody;
}