flutter_mqtt_api

A Flutter package to handle calls to an Azure grid view broker.

Usage

The AzureGridViewMqttMessage class in this package provides a convenient way to send requests to an MQTT server. Here's how you can use it:

dependencies:
  mqtt_azure_grid_view: ^1.0.0

  Future<String> sendMessage({Map<String, dynamic> mqttConfig}) async


AzureGridViewMqttMessage mqttMessage = AzureGridViewMqttMessage();
String response = await mqttMessage.sendMessage(mqttConfig: {"key": "value"});
print(response);