CoapOption.createVal constructor
CoapOption.createVal(
- OptionType type,
- int val
Creates an option.
Implementation
factory CoapOption.createVal(final OptionType type, final int val) =>
CoapOption.create(type)..intValue = val;