hasError property
bool
hasError
Call this as a shorthand for error != null
.
Implementation
bool get hasError => error != null;
Call this as a shorthand for error != null
.
bool get hasError => error != null;