stop method

Future<void> stop()

Stops the instrumentation server.

Implementation

Future<void> stop() async {
  final uri = Uri.parse('$_baseUri/stop');
  try {
    print('stopping instrumentation server...');
    await _client.post(uri);
  } catch (err) {
    print('failed to call $uri: $err');
  } finally {
    print('instrumentation server stopped');
  }
}