hasError property Null safety

bool hasError

Returns the error status of the ViewModel

Implementation

bool get hasError => error(this) != null;