toString method

  1. @override
String toString()
override

A string representation of this object.

Some classes have a default textual representation, often paired with a static parse function (like int.parse). These classes will provide the textual representation as their string representation.

Other classes have no meaningful textual representation that a program will care about. Such classes will typically override toString to provide useful information when inspecting the object, mainly for debugging or logging.

Implementation

@override
String toString() {
  return 'DSS{STATUS: ${STATUS}, syncedRows: ${syncedRows}, totalRows: ${totalRows}, localRows: ${localRows}, pinnedRows: ${pinnedRows}, missingRows: ${missingRows}, cachedBytes: ${cachedBytes}, pinnedBytes: ${pinnedBytes}, downloadedBytes: ${downloadedBytes}, downloadSpeedBytesPerSecond: ${downloadSpeedBytesPerSecond}, measuredWireSpeedBytesPerSecond: ${measuredWireSpeedBytesPerSecond}, hasWireSpeedUtilization: ${hasWireSpeedUtilization}, wireSpeedUtilization: ${wireSpeedUtilization}, wireSpeedTarget: ${wireSpeedTarget}, hasWireSpeedTargetMet: ${hasWireSpeedTargetMet}, wireSpeedTargetMet: ${wireSpeedTargetMet}, manifestDiscoveryMs: ${manifestDiscoveryMs}, networkTransferMs: ${networkTransferMs}, verificationMs: ${verificationMs}, flatsqlMaterializationMs: ${flatsqlMaterializationMs}, providerPeerId: ${providerPeerId}, providerPublicKey: ${providerPublicKey}, snapshotId: ${snapshotId}, HEAD: ${HEAD}, CURSOR: ${CURSOR}, nextCursor: ${nextCursor}, highWaterMark: ${highWaterMark}, queryProfile: ${queryProfile}, chunkHash: ${chunkHash}, syncProtocol: ${syncProtocol}, syncFilter: ${syncFilter}, verifiedChunks: ${verifiedChunks}, lastSyncedAt: ${lastSyncedAt}, ERROR: ${ERROR}, schemaName: ${schemaName}, providerId: ${providerId}, sourceName: ${sourceName}, datasetId: ${datasetId}, connectorId: ${connectorId}, channelId: ${channelId}, TOPIC: ${TOPIC}, SUBSCRIBED: ${SUBSCRIBED}, pinPolicy: ${pinPolicy}, VISIBILITY: ${VISIBILITY}, encryptionState: ${encryptionState}, grantState: ${grantState}, feedHead: ${feedHead}, lastPublicationCid: ${lastPublicationCid}, lastPnmCid: ${lastPnmCid}, deltaRows: ${deltaRows}, lastSyncStartedAt: ${lastSyncStartedAt}, requestedAction: ${requestedAction}, originId: ${originId}, RETENTION: ${RETENTION}, subscriberCount: ${subscriberCount}, servedBytes: ${servedBytes}, serveSpeedBytesPerSecond: ${serveSpeedBytesPerSecond}}';
}