doStateChange method

void doStateChange()

Implementation

void doStateChange() {
  onStateChange?.call(this);
}