transferStatistics property

TransferStatistics get transferStatistics

Returns transfer statistics for data exchanged by this service.

Returns a TransferStatistics object containing counters and metrics about network usage performed by the traffic service. This information can be used for diagnostics or to display usage to end users.

Returns

  • (TransferStatistics) Object containing download, upload and requests properties summarising data transfer for this service.

Implementation

TransferStatistics get transferStatistics {
  final OperationResult resultString = objectMethod(
    pointerId,
    'MapDownloaderService',
    'getTransferStatistics',
  );

  return TransferStatistics.init(resultString['result']);
}