onReset property

ResultNotifierCallback<T>? onReset
final

Callback invoked when this notifier is reset, cancelled or disposed.

Use isCancelled to check if the the reason of the reset was cancellation, or isActive to check if the notifier was reset due to disposal.

Implementation

final ResultNotifierCallback<T>? onReset;