MqttConnection constructor Null safety

MqttConnection()