toJson method

Map<String, Object> toJson ()

Implementation

core.Map<core.String, core.Object> toJson() {
  final core.Map<core.String, core.Object> _json =
      new core.Map<core.String, core.Object>();
  if (referrer != null) {
    _json["referrer"] = referrer;
  }
  if (remoteIp != null) {
    _json["remoteIp"] = remoteIp;
  }
  if (type != null) {
    _json["type"] = type;
  }
  if (url != null) {
    _json["url"] = url;
  }
  return _json;
}