hasError property

bool get hasError

Implementation

bool get hasError => errorMessage != null || errorCode != null;