get static method

Future get(
  1. String key
)

Retrieve a value from the session by key

Implementation

static Future<dynamic> get(String key) async {
  final sessionId = CookieService.get('FLINTSESSID');
  final data = await SessionManager.instance.getSession(sessionId);
  if (data == null) return null;
  return data[key];
}