removePref method

void removePref(
  1. Pref pref
)

Implementation

void removePref(Pref pref) {
  int id = _getPrefId(pref.prefKey);
  if (id > -1) preferences.removeAt(id);
}