hasError property

bool hasError

Implementation

bool get hasError => state.error != null;