0 purchases
azure grid view mqtt
flutter_mqtt_api #
A Flutter package to handle API calls to an MQTT server.
Usage #
The AzureGridViewMqttMessage class in this package provides a convenient way to send POST requests to an MQTT server. Here's how you can use it:
dependencies:
iot_mqtt_message: ^1.0.0
Future<String> getApi({String url = "", Map<String, dynamic> body}) async
AzureGridViewMqttMessage mqttMessage = AzureGridViewMqttMessage();
String response = await mqttMessage.getApi(url: "https://example.com/api", body: {"key": "value"});
print(response);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.