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 (bytesUsed != null) {
    _json["bytesUsed"] = bytesUsed;
  }
  if (serviceName != null) {
    _json["serviceName"] = serviceName;
  }
  return _json;
}