isEmpty property

bool isEmpty

Checks whether this CoapCode indicates an empty message.

Implementation

bool get isEmpty => this == RequestMethod.empty.coapCode;