removePref method

void removePref(
  1. Pref pref
)

Implementation

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