TransferStatistics class Core

Provides data transfer statistics for a specific online service

Constructors

TransferStatistics.init(int id)

Properties

download int
Gets the overall downloaded data size in bytes
no setter
hashCode int
The hash code for this object.
no setterinherited
requests int
Gets the overall number of requests
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
upload int
Gets the overall uploaded data size in bytes
no setter

Methods

getDownload(NetworkType networkType) int
Gets the overall downloaded data size in bytes / network type
getRequests(NetworkType networkType) int
Gets the overall number of requests / network type
getUpload(NetworkType networkType) int
Gets the overall uploaded data size in bytes / network type
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerAutoReleaseObject(int pointerId) → void
Registers an object for auto release.
inherited
resetStatistics() → void
Reset transfer statistics
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited