hasErrors property

bool hasErrors

If this response has any error.

Implementation

bool get hasErrors => errors != null && errors!.isNotEmpty;