error property

String? get error

Accessor for the error message.

Implementation

String? get error => state.value.error;