PubSubSubscribeOptions class

Options for PubSub.subscribe. A field left null takes the server's default.

Constructors

PubSubSubscribeOptions({int? oldMessageLimit, RealtimeOverflow? realtimeOverflow, int? maxQueue, int? newMessageLimit})
Sets any of the subscribe options.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxQueue → int?
The queue size for RealtimeOverflow.QUEUE; not allowed with RealtimeOverflow.DROP.
final
newMessageLimit → int?
The most live messages delivered per batch.
final
oldMessageLimit → int?
How many stored messages to deliver on subscribe. 0 skips history.
final
realtimeOverflow → RealtimeOverflow?
Queue or drop live messages under backpressure.
final
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
toString() → String
A string representation of this object.
inherited

Operators

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