update method

void update([
  1. List<Object>? ids,
  2. bool condition = true
])

Notifies listeners to update the UI.

Implementation

void update([List<Object>? ids, bool condition = true]) {
  if (!condition) return;
  if (ids == null) {
    refresh();
  } else {
    for (final id in ids) {
      refreshGroup(id);
    }
  }
}