addLocationQuery method
Add a location query
Implementation
void addLocationQuery(final String query) {
if (query.length > 255) {
throw ArgumentError.value(
query.length,
'Message::addLocationQuery',
"Location Query option's length must be between "
'0 and 255 inclusive',
);
}
addOption(CoapOption.createString(OptionType.locationQuery, query));
}