setApiKey static method

void setApiKey(
  1. String apikey
)

Implementation

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