currentError property

Object? get currentError

Returns the current error, or null.

Implementation

Object? get currentError => state.error;