getRequests method
Number of requests for the given network type.
Parameters
networkType: The network type to query (see NetworkType).
Returns
- The overall number of requests for
networkType.
Implementation
int getRequests(NetworkType networkType) {
final OperationResult resultString = objectMethod(
super.pointerId,
'TransferStatistics',
'getRequestsNetworkType',
args: networkType.id,
);
return resultString['result'];
}