toJson method
Implementation
Map<String, Object> toJson() {
Map<String, String> result;
result = {"vaid": modification.variationId, "caid": modification.variationGroupId, "vid": visitorId, "cid": envId};
if (this.anonymousId != null) {
result.addEntries({"aid": anonymousId ?? ""}.entries);
}
return result;
}