FutureChecks<T> extension

on

Methods

completes([AsyncCondition<T>? completionCondition]) Future<void>
Expects that the Future completes to a value without throwing.
doesNotComplete() → void
Expects that the Future never completes as a value or an error.
throws<E extends Object>([AsyncCondition<E>? errorCondition]) Future<void>
Expects that the Future completes as an error.