start method
void
start()
Starts or resumes the scanning session.
Implementation
void start() {
if (_state == SessionState.completed || _state == SessionState.cancelled) {
return; // Cannot restart completed/cancelled sessions
}
_startedAt ??= DateTime.now();
_setState(SessionState.active);
}