iot_mqtt_message 1.0.1 copy "iot_mqtt_message: ^1.0.1" to clipboard
iot_mqtt_message: ^1.0.1 copied to clipboard

A Flutter package for MQTT communication in Flutter projects. Simplifies POST requests to MQTT brokers. Ideal for IoT apps.

flutter_mqtt_api #

A Flutter package to handle API calls to an MQTT server.

Usage #

The IOTMqttMessage 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


IOTMqttMessage mqttMessage = IOTMqttMessage();
String response = await mqttMessage.getApi(url: "https://example.com/api", body: {"key": "value"});
print(response);
0
likes
110
pub points
0%
popularity

Publisher

unverified uploader

A Flutter package for MQTT communication in Flutter projects. Simplifies POST requests to MQTT brokers. Ideal for IoT apps.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

http

More

Packages that depend on iot_mqtt_message