hasError property

bool get hasError

True if an error occurred.

Implementation

bool get hasError => error != null;