update method

void update()

Implementation

void update() {
  if (onUpdate != null) onUpdate!();
  if(!loaded && _onStartUp != null){
    _onStartUp!();
  }
}