DSLink Provider for the Browser

Constructors

LinkProvider(String brokerUrl, String prefix, { Map<String, dynamic> defaultNodes, Map<String, NodeFactory> profiles, NodeProvider provider, DataStorage dataStore, bool loadNodes: false, bool isRequester: true, bool isResponder: true, String token })

Properties

brokerUrl → String

read / write
dataStore DataStorage

read / write
defaultNodes → Map<String, dynamic>

read / write
isRequester → bool

read / write
isResponder → bool

read / write

read / write
loadNodes → bool

read / write
onRequesterReady → Future<Requester>

read-only
prefix → String

read / write
privateKey PrivateKey

read / write
profiles → Map<String, NodeFactory>

read / write
provider NodeProvider

read / write
requester Requester

read-only
token → String

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

Operators

operator [](String path) LocalNode

operator ~() LocalNode

operator ==(other) → bool

The equality operator.

inherited

Methods

addNode(String path, Map m) LocalNode

close() → void

connect() → Future

getNode(String path) LocalNode

init() → Future

initLinkWithPrivateKey() → Future

onValueChange(String path, { int cacheLevel: 1 }) → Stream<ValueUpdate>

removeNode(String path) → void

resetSavedNodes() → Future

save() → Future

syncValue(String path) → void

Remote Path of Responder

updateValue(String path, value) → void

val(String path, [ value = unspecified ]) → 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