error property

String? get error

Current error message if the async operation failed.

Implementation

String? get error => _error.value;