current property

TestScenario<T> get current

Returns the current active scenario. Defaults to the first value in the set.

Implementation

TestScenario<T> get current => _current ?? values.first;