instance property

Future<SessionManager> get instance

Returns a singleton instance of the session manager

Implementation

static Future<SessionManager> get instance async {
  assert(
    _instance != null,
    'You need to create a SessionManager before the instance method can be called',
  );
  return _instance!;
}