suspend method

Future<void> suspend()

Suspends network module to stop any network activity

Implementation

Future<void> suspend() async {
  await _tonCore.request('net.suspend', null);
}