getTotalBytesSent method

Future<int> getTotalBytesSent()

Returns the amount of total bytes sent since the router is up/tracking statistics

Implementation

Future<int> getTotalBytesSent() async {
  final result =
      await _wanCommonService!.invokeAction('GetTotalBytesSent', {});
  return num.tryParse(result['NewTotalBytesSent']!) as FutureOr<int>? ?? 0;
}