getUpdate method

void getUpdate()

Schedules a rebuild when reactive dependencies change.

Implementation

void getUpdate() {
  if (disposers != null) {
    scheduleMicrotask(() {
      if (mounted) {
        markNeedsBuild();
      }
    });
  }
}