getTotalPacketsReceived method

Future<int> getTotalPacketsReceived()

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

Implementation

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