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