RealtimeSessionController class abstract
Constructors
-
RealtimeSessionController.new({RealtimeSession? session, List<
RealtimeFunctionToolHandler> ? initialTools})
Properties
-
clientEvents
→ Stream<
RealtimeEvent> -
no setter
-
clientEventsController
→ StreamController<
RealtimeEvent> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serverEvents
→ Stream<
RealtimeEvent> -
no setter
-
serverEventsController
→ StreamController<
RealtimeEvent> -
final
- session → RealtimeSession?
-
no setter
-
tools
→ Iterable<
RealtimeFunctionToolHandler> -
no setter
Methods
-
addTools(
List< RealtimeFunctionToolHandler> tools) → Future<void> -
dispose(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeTools(
List< RealtimeFunctionToolHandler> tools) → Future<void> -
send(
RealtimeEvent event) → void -
toString(
) → String -
A string representation of this object.
inherited
-
updateSession(
RealtimeSession session) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited