StateBuilder<T, S> typedef Null safety

StateBuilder<T, S> = S Function(ObservableSource locator, T? currentValue, S? currentState)

Implementation

typedef StateBuilder<T, S> = S Function(
  ObservableSource locator,
  T? currentValue,
  S? currentState,
);