toString method
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 'NHS{nodeId: ${nodeId}, generatedAtMs: ${generatedAtMs}, startedAtMs: ${startedAtMs}, uptimeS: ${uptimeS}, serviceState: ${serviceState}, serviceMode: ${serviceMode}, softwareVersion: ${softwareVersion}, storagePath: ${storagePath}, storeTotalRecords: ${storeTotalRecords}, storeTotalBytes: ${storeTotalBytes}, hasDisk: ${hasDisk}, diskCapacityBytes: ${diskCapacityBytes}, diskFreeBytes: ${diskFreeBytes}, diskAvailableBytes: ${diskAvailableBytes}, hasNetwork: ${hasNetwork}, totalInBytes: ${totalInBytes}, totalOutBytes: ${totalOutBytes}, rateInBps: ${rateInBps}, rateOutBps: ${rateOutBps}, throughputHistory: ${throughputHistory}, hasCompute: ${hasCompute}, cpuLoad: ${cpuLoad}, cpuCores: ${cpuCores}, memoryUsedBytes: ${memoryUsedBytes}, memoryTotalBytes: ${memoryTotalBytes}, connectionCount: ${connectionCount}, NOTES: ${NOTES}}';
}