onSessionCount static method
Registers a SessionCountCallback which is called when the session count in the database changes.
Implementation
static void onSessionCount(
SessionCountCallback callback,
) {
_checkInstance();
_instance!._onSessionCount(callback);
}