hasError property
bool
get
hasError
Indicates whether the bloc has an error.
Implementation
bool get hasError => error != null;
Indicates whether the bloc has an error.
bool get hasError => error != null;