Replicator class

Constructors

Replicator(ReplicatorConfiguration config)

Properties

config ReplicatorConfiguration
final
replicatorId String
final
tokens Map<ListenerToken, StreamSubscription>
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

activityFromString(String _status) ReplicatorActivityLevel
addChangeListener(dynamic callback(ReplicatorChange)) ListenerToken
Adds a replicator change listener. [...]
removeChangeListener(ListenerToken token) Future<ListenerToken>
Removes a change listener with the given listener token.
start() Future<void>
Starts the replicator. [...]
stop() Future<void>
Stops a running replicator. [...]
toJson() Map<String, dynamic>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited