withAuthenticationMethod method

MqttConnectMessage withAuthenticationMethod(
  1. String method
)

Sets the authentication method.

Implementation

MqttConnectMessage withAuthenticationMethod(String method) {
  _variableHeader!.authenticationMethod = method;
  return this;
}