OnDisconnect class

The OnDisconnect class allows you to write or clear data when your client disconnects from the database server.

See: firebase.google.com/docs/reference/js/firebase.database.OnDisconnect.

Constructors

OnDisconnect.fromJsObject(OnDisconnectJsImpl jsObject)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
jsObject → OnDisconnectJsImpl
JS object.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

cancel() Future
Cancels all previously queued onDisconnect() events for actual location and all children.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
remove() Future
Ensures the data for actual location is deleted when the client is disconnected.
set(dynamic value) Future
Ensures the data for actual location is set to the specified value when the client is disconnected. [...]
setWithPriority(dynamic value, dynamic priority) Future
Ensures the data for actual location is set to the specified value and priority when the client is disconnected. [...]
toString() String
Returns a string representation of this object.
inherited
update(dynamic values) Future
Writes multiple values at actual location when the client is disconnected. [...]

Operators

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