MqttHelper class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
disconnect(
) → void -
initialize(
MqttConfig config, {MqttCallbacks? callbacks, bool autoSubscribe = false, List< String> ? topics}) → Future<void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onConnectionChange(
dynamic change(bool)) → StreamSubscription< bool> -
onData(
dynamic event(DynamicMap)) → StreamSubscription< DynamicMap> -
onEvent(
dynamic event(EventModel)) → StreamSubscription< EventModel> -
onRawEvent(
dynamic event(MqttHelperPayload?)) → StreamSubscription< MqttHelperPayload?> -
subscribeTopic(
String topic) → void -
subscribeTopics(
List< String> topics) → void -
toString(
) → String -
A string representation of this object.
inherited
-
unsubscribeTopic(
String topic) → void -
unsubscribeTopics(
List< String> topics) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited