toJson method
Implementation
@override
Map<String, dynamic> toJson() {
var obj = <String, dynamic>{};
obj["priority"] = priority;
obj["value"] = value;
obj["scope"] = eventDate;
obj["scope"] = scope;
obj["ipAddress"] = ipAddress;
obj["client"] = client;
obj["device"] = device;
obj["user"] = user;
obj["meta"] = meta;
return obj;
}