setOption method
Sets an option, removing all others of the option type
Implementation
void setOption(final CoapOption opt) => _optionMap[opt.type] = [opt];
Sets an option, removing all others of the option type
void setOption(final CoapOption opt) => _optionMap[opt.type] = [opt];