hasError property

  1. @override
bool get hasError
override

If provider has an error messages

Implementation

@override
bool get hasError => value.isNotEmpty;