RealtimeObserver<T> class

Observer for setting up real-time subscriptions with type safety

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

fields(List<String> fields) RealtimeObserver<T>
Set field projection for the subscription
filter(RealtimeFilter filter) RealtimeObserver<T>
Set filter conditions for the subscription with type safety
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on(RealtimeObserverEvent event, dynamic handler) RealtimeObserver<T>
Set up event handlers with enum-based events
onData(RealtimeDataHandler<T> handler) RealtimeObserver<T>
Set up data event handler with type safety
onError(RealtimeErrorHandler handler) RealtimeObserver<T>
Set up error event handler with type safety
subscribe() Future<RealtimeSubscription>
Subscribe to real-time events with type safety
toString() String
A string representation of this object.
inherited

Operators

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