@override Future<void> close() async { if (_isClosed) return; _isClosed = true; onClose(); await _platformService.closeSessionId(sessionId); }