hasError property

bool hasError

Indicates if error is not null.

Implementation

bool get hasError => error != null;