setTerm static method

void setTerm(
  1. String apikey
)

Implementation

static void setTerm(String apikey) async {
  SharedPreferences pref = await SharedPreferences.getInstance();
  await pref.setString(term, apikey);
}