AppMQTT class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onMQTTConnected ↔ (dynamic Function(bool isReconnect)?)
-
getter/setter pair
- onMQTTDisconnected ↔ (dynamic Function()?)
-
getter/setter pair
- onMQTTMessage ↔ (dynamic Function(String topic, String payload)?)
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connect(
[String? username, String? password]) → void -
disconnect(
) → void -
initializeMQTTClient(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onConnected(
) → void - The successful connect callback
-
onDisconnected(
) → void - The unsolicited disconnect callback
-
onReConnected(
) → void -
onSubscribed(
String topic) → void - The subscribed callback
-
subscribeTo(
String channel) → void -
toString(
) → String -
A string representation of this object.
inherited
-
unsubscribeTo(
String channel) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited