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 decryptString(string);
//  }
//  return await FlutterDes.decryptFromBase64(string, _secret);
}