hasError property

bool get hasError

Implementation

bool get hasError => _errorMessage.isNotEmpty;