close method
Closes the assistant (the X): real endSession() + teardown.
Implementation
Future<void> close() async {
final s = _session;
_setPanelOpen(false);
if (s != null) {
await s.endSession();
await _disposeSession();
}
}
Closes the assistant (the X): real endSession() + teardown.
Future<void> close() async {
final s = _session;
_setPanelOpen(false);
if (s != null) {
await s.endSession();
await _disposeSession();
}
}