setUp abstract method
- T value
A function that will be called before each value is tested, with the value that will be tested.
This function should preserve any state needed to restore the testing
environment back to its base state when tearDown is called in the
Object
that is returned. The returned object will then be passed to
tearDown as a memento
when the test is complete.
Implementation
Future<Object?> setUp(T value);