hasError property

  1. @computed
bool get hasError

Implementation

@computed
bool get hasError => errorMessage != null && errorMessage!.isNotEmpty;