isFirstTimeUser static method

dynamic isFirstTimeUser()

Implementation

static isFirstTimeUser() async {
  await SharedPreferences.getInstance().then((value) {
    bool? startedBefore = value.getBool("isFirstTimeUser");
    if (startedBefore == null) {
      value.setBool("isFirstTimeUser", true);
      isFirstTimeSdkUse = true;
      return true;
    }
  });
}