changeState method

  1. @protected
void changeState()

Implementation

@protected
void changeState() {
  // assert(_debugAssertNotDisposed());

  /// This debounce the call to update.
  /// It prevent errors and duplicates builds
  if(_updaters!=null) {
    _notifyUpdate();
  }
  else{
    log("FlutX: A $runtimeType was used after being disposed. 'Once you have called dispose() on a $runtimeType, it can no longer be used.");
  }
}