hasError property

bool hasError

If error is not null

Implementation

bool get hasError => error != null;