hasError property

bool get hasError

Implementation

bool get hasError => value.error?.isNotEmpty ?? false;