hasError property

bool get hasError

Whether at least one error was emitted.

Implementation

bool get hasError => _errors.isNotEmpty;