isDefault method
Checks whether the option value is the default.
Implementation
bool isDefault() {
if (_type == OptionType.maxAge) {
return intValue == CoapConstants.defaultMaxAge;
}
return false;
}
Checks whether the option value is the default.
bool isDefault() {
if (_type == OptionType.maxAge) {
return intValue == CoapConstants.defaultMaxAge;
}
return false;
}