getTotalPacketsSent method

Future<int> getTotalPacketsSent()

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

Implementation

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