lastError property

Exception? get lastError

Returns the last error that occurred, or null if no error.

Implementation

Exception? get lastError => _lastError;