andThen<B> method

  1. @override
Task<B> andThen<B>(
  1. covariant Task<B> then()
)
override

Run this Task and right after the Task returned from then.

Implementation

@override
Task<B> andThen<B>(covariant Task<B> Function() then) =>
    flatMap((_) => then());