currentTest property

Test currentTest

Returns the current from the controller. This will never be null.

Implementation

Test get currentTest => _currentTest;
void currentTest=(Test? test)

Sets the current test. If the given test is null then a blank test will be set instead.

Implementation

set currentTest(Test? test) => _currentTest = test ?? Test();