init static method
Implementation
static Future<SessionManager> init({
bool useSecureStorage = true,
}) async {
SharedPreferences? prefs;
if (!useSecureStorage) {
prefs = await SharedPreferences.getInstance();
}
final session = await _readSessionFromLocalStorage(prefs);
return SessionManager._(session, prefs);
}