order method
Implementation
order(T f, [int? pos]) {
value.remove(f);
if (pos == null || value.isEmpty || pos > value.length) {
value.add(f);
} else {
value.insert(pos, f);
}
notifyListeners();
}
order(T f, [int? pos]) {
value.remove(f);
if (pos == null || value.isEmpty || pos > value.length) {
value.add(f);
} else {
value.insert(pos, f);
}
notifyListeners();
}