withUserProperties method

MqttPublishMessage withUserProperties(
  1. List<MqttUserProperty>? properties
)

Sets a list of user properties

Implementation

MqttPublishMessage withUserProperties(List<MqttUserProperty>? properties) {
  _variableHeader!.userProperty = properties;
  return this;
}