MessageProvider class abstract

Message interface that any device or mock device must fulfill to integrate with Client.

Implementers
Annotations
  • @JS()

Constructors

MessageProvider()

Properties

hashCode int
The hash code for this object.
no setterinherited
receive MessageCallback
Register the callback for when events from the device are received.
no getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(String command, dynamic payload) → dynamic
Sends the command and payload to the device or service responsible for handling events.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited