getUpload method
Uploaded data size in bytes for the given network type.
Parameters
networkType: The network type to query (see NetworkType).
Returns
- The uploaded data size in bytes for
networkType.
Implementation
int getUpload(NetworkType networkType) {
final OperationResult resultString = objectMethod(
super.pointerId,
'TransferStatistics',
'getUploadNetworkType',
args: networkType.id,
);
return resultString['result'];
}