onReset property

  1. @Deprecated('Deprecated in 3.2.0: listen to the [resetStream] instead')
AsyncCallback? onReset
final

Callback function that the application must register with the controller so that when a reset is requested by a test, the application properly resets to the initial state.

Implementation

@Deprecated('Deprecated in 3.2.0: listen to the [resetStream] instead')
final AsyncCallback? onReset;