getToken static method

String? getToken()

Retrieve the stored token

Implementation

static String? getToken() {
  final box = Hive.box<String>(_boxName);
  return box.get(_tokenKey);
}