handleBuildWhen method

  1. @protected
bool handleBuildWhen(
  1. StatusState previous,
  2. StatusState current
)

Takes the previous state and the current state and is responsible for returning a bool

Implementation

@protected
bool handleBuildWhen(StatusState previous, StatusState current) => current != previous;