endSession method
void
endSession()
Implementation
void endSession() {
if (_sessionId != null) {
PatientSessionApi().send(_sessionId!, 0);
_libraryData.removeValue("patient");
_sessionId = null;
_timer?.cancel();
}
}