RealtimeChannelConfig class

Constructors

RealtimeChannelConfig({bool ack = false, bool self = false, ReplayOption? replay, String key = '', bool enabled = false, bool private = false, bool replicationReady = false})
const

Properties

ack → bool
ack option instructs server to acknowledge that broadcast message was received
final
enabled → bool
Enables presence even without presence bindings
final
hashCode → int
The hash code for this object.
no setterinherited
key → String
key option is used to track presence payload across clients
final
private → bool
Defines if the channel is private or not and if RLS policies will be used to check data
final
replay → ReplayOption?
replay enables private channels to access messages that were sent earlier. Only messages published via Broadcast From the Database are available for replay.
final
replicationReady → bool
replicationReady instructs the server to emit a system event once the Postgres replication connection backing this channel is established and ready to stream changes.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
self → bool
self option enables client to receive message it broadcasted
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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