getTransferStatistics method

TransferStatistics getTransferStatistics(
  1. ViewOnlineServiceType type
)

Get data transfer statistics for this service.

Parameters

** IN** type The type of service to get statistics for

Returns

  • The transfer statistics

Implementation

TransferStatistics getTransferStatistics(ViewOnlineServiceType type) {
  final resultString = objectMethod(
    _pointerId,
    'MapView',
    'getTransferStatistics',
    args: type.id,
  );

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