checks
library
Classes
-
Subject<T>
-
A target for checking expectations against a value in a test.
Functions
-
check<T>(T value, {String? because})
→ Subject<T>
-
Creates a Subject that can be used to validate expectations against
value
, with an exception upon a failed expectation.
Typedefs
-
AsyncCondition<T>
= FutureOr<void> Function(Subject<T>)
-
A callback that asynchronously checks expectations against a subject.
-
Condition<T>
= void Function(Subject<T>)
-
A callback that synchronously checks expectations against a subject.