andThen<C> method

  1. @override
State<S, C> andThen<C>(
  1. covariant State<S, C> then()
)
override

Chain the result of then to this State.

Implementation

@override
State<S, C> andThen<C>(covariant State<S, C> Function() then) =>
    flatMap((_) => then());