isErrorResponse property

bool isErrorResponse

Checks whether this CoapCode represents a client error response code.

Implementation

bool get isErrorResponse => codeClass == _clientError;