getTerm static method

Future<String?> getTerm()

Implementation

static Future<String?> getTerm() async {
  SharedPreferences pref = await SharedPreferences.getInstance();
  return pref.getString(term);
}