onUpdate method

  1. @protected
void onUpdate(
  1. bool didChange
)

Called when update is called

The update method should be called on the observers of the cell. Overriding this method allows this behaviour to be changed.

Implementation

@protected
void onUpdate(bool didChange) {
  notifyUpdate(didChange: didChange && this.didChange());
}