getStorageString function

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

Implementation

Future<String?> getStorageString(String key) async {
  String? string = await SharedPreferencesUtil.getSharedPrefsString(key);
  if (_secret == null || string == null) {
    return string;
  }
//  if (isWeb) {
  return _encrypt.decrypt(Encrypted.fromBase64(string), iv: _iv);
//  }
//  return await FlutterDes.decryptFromBase64(string, _secret);
}