getConnection method Null safety

MqttServerClient? getConnection()