setUp method Null safety

  1. @override
Future<void> setUp(
  1. void value
)
override

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

@override
Future<void> setUp(void value) async {}