getString static method

Future<String?> getString(
  1. String key
)

Implementation

static Future<String?> getString(String key) async {
  final storage = _storage();
  final value = await storage.read(key: key);
  return value != null ? _decrypt(value) : null;
}