Consumer class

Constructors

Consumer({required String url, bool debug = true})

Properties

debug bool
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriptions ↔ Subscriptions
getter/setter pair
url String
final

Methods

connect() Future<void>
disconnect() → void
ensureActiveConnection() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(Map<String, dynamic> data) bool
toString() String
A string representation of this object.
inherited

Operators

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