SyncProvider class abstract

Real-time sync provider interface

Implementers

Constructors

SyncProvider()

Properties

hashCode int
The hash code for this object.
no setterinherited
isConnected bool
Check if connected
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect() Future<void>
Connect to sync service
disconnect() Future<void>
Disconnect from sync service
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
publish(String channel, dynamic data) Future<void>
Publish data to channel
subscribe(String channel, void onData(dynamic data)) → void
Subscribe to channel
toString() String
A string representation of this object.
inherited
unsubscribe(String channel) → void
Unsubscribe from channel

Operators

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