markNeedsBuild method Null safety

void markNeedsBuild()

Cause this entry to rebuild during the next pipeline flush.

You need to call this function if the output of builder has changed.

Implementation

void markNeedsBuild() {
  assert(!_disposedByOwner);
  _key.currentState?._markNeedsBuild();
}