getRequests method

int getRequests(
  1. NetworkType networkType
)

Gets the overall number of requests for a specific network type.

Parameters

  • IN networkType The network type.

Returns

  • The overall number of requests.

Implementation

int getRequests(NetworkType networkType) {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'TransferStatistics',
    'getRequestsNetworkType',
    args: networkType.id,
  );
  return resultString['result'];
}