close method

Future<void> close()

Terminates the session and stops driving it.

Implementation

Future<void> close() async {
  await _teardown();
  await _session.close();
}