hasError property

  1. @override
bool get hasError
override

If provider has an error message

Implementation

@override
bool get hasError => value != null;