update method
Notifies listeners to rebuild.
- Pass
idsto only update GetBuilder widgets with a matchingid. - Use
conditionto conditionally skip an update.
Implementation
void update([List<Object>? ids, bool condition = true]) {
if (!condition) return;
if (ids == null) {
refresh();
} else {
for (final id in ids) {
refreshGroup(id);
}
}
}