error property

String? get error

Returns the current error message, or null if no error.

Implementation

String? get error => _error;