RealtimeEventHandler<T> class abstract

Type-safe event handler interface

Constructors

RealtimeEventHandler()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onData(RealtimeDataEvent<T> event) → FutureOr<void>
Handle data events
onError(RealtimeErrorEvent event) → FutureOr<void>
Handle error events
toString() → String
A string representation of this object.
inherited

Operators

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