Realtime class
Main Realtime class for pub/sub messaging
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
-
observe<
T> (RealtimeTopic topic) → RealtimeObserver< T> - Observe real-time data for a specific topic with type safety
-
publish<
T> ({required RealtimeTopic topic, required T data}) → Future< void> - Publish data to a real-time topic
-
toString(
) → String -
A string representation of this object.
inherited
-
unsubscribe(
{RealtimeTopic? topic}) → Future< void> - Unsubscribe from a specific topic
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited