isServerError property

bool isServerError

Checks whether this CoapCode represents a server error response code.

Implementation

bool get isServerError => codeClass == _serverError;