correlationData property

Uint8Buffer? correlationData

Implementation

typed.Uint8Buffer? get correlationData => _correlationData;
void correlationData=(Uint8Buffer? data)

Implementation

set correlationData(typed.Uint8Buffer? data) {
  if (data != null) {
    final property =
        MqttBinaryDataProperty(MqttPropertyIdentifier.correlationdata);
    property.addBytes(data);
    _propertySet.add(property);
    if (_correlationData == null) {
      _correlationData = typed.Uint8Buffer()..addAll(data);
    } else {
      _correlationData!.clear();
      _correlationData!.addAll(data);
    }
  }
}