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 (bytesCopiedToSink != null) {
    _json["bytesCopiedToSink"] = bytesCopiedToSink;
  }
  if (bytesDeletedFromSink != null) {
    _json["bytesDeletedFromSink"] = bytesDeletedFromSink;
  }
  if (bytesDeletedFromSource != null) {
    _json["bytesDeletedFromSource"] = bytesDeletedFromSource;
  }
  if (bytesFailedToDeleteFromSink != null) {
    _json["bytesFailedToDeleteFromSink"] = bytesFailedToDeleteFromSink;
  }
  if (bytesFoundFromSource != null) {
    _json["bytesFoundFromSource"] = bytesFoundFromSource;
  }
  if (bytesFoundOnlyFromSink != null) {
    _json["bytesFoundOnlyFromSink"] = bytesFoundOnlyFromSink;
  }
  if (bytesFromSourceFailed != null) {
    _json["bytesFromSourceFailed"] = bytesFromSourceFailed;
  }
  if (bytesFromSourceSkippedBySync != null) {
    _json["bytesFromSourceSkippedBySync"] = bytesFromSourceSkippedBySync;
  }
  if (objectsCopiedToSink != null) {
    _json["objectsCopiedToSink"] = objectsCopiedToSink;
  }
  if (objectsDeletedFromSink != null) {
    _json["objectsDeletedFromSink"] = objectsDeletedFromSink;
  }
  if (objectsDeletedFromSource != null) {
    _json["objectsDeletedFromSource"] = objectsDeletedFromSource;
  }
  if (objectsFailedToDeleteFromSink != null) {
    _json["objectsFailedToDeleteFromSink"] = objectsFailedToDeleteFromSink;
  }
  if (objectsFoundFromSource != null) {
    _json["objectsFoundFromSource"] = objectsFoundFromSource;
  }
  if (objectsFoundOnlyFromSink != null) {
    _json["objectsFoundOnlyFromSink"] = objectsFoundOnlyFromSink;
  }
  if (objectsFromSourceFailed != null) {
    _json["objectsFromSourceFailed"] = objectsFromSourceFailed;
  }
  if (objectsFromSourceSkippedBySync != null) {
    _json["objectsFromSourceSkippedBySync"] = objectsFromSourceSkippedBySync;
  }
  return _json;
}