getStringSecurity static method

String getStringSecurity(
  1. String key,
  2. String defaultValue
)

Implementation

static String getStringSecurity(String key, String defaultValue) {
  final String data = prefs?.getString(key) ?? '';
  if (data == '') {
    return defaultValue;
  } else {
    return encrypter.decrypt64(data, iv: iv);
  }
}