hasError property

bool hasError

Implementation

bool get hasError => error.isNotEmpty;