hasError property

bool hasError

Implementation

bool get hasError => error is! _NoError;