readValue method

Future<String> readValue(
  1. String key
)

Read a String variable from Secure Storage with the key key

Reture value in String if value was found Return null if is empty

Implementation

Future<String> readValue(String key) async {
  final FlutterSecureStorage storage = FlutterSecureStorage();
  String value = await storage.read(key: key);
  return value;
}