hasErrors property

bool get hasErrors

If this response has any error.

Implementation

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