error property

Object? get error

gets the latest error

Implementation

Object? get error => _state.error;