Pubsub class

Constructors

Pubsub({required TokenCallback tokenCallback, Duration pingTimeout = const Duration(seconds: 15), Duration pingInterval = const Duration(seconds: 1), Duration reconnectDelay = const Duration(seconds: 1)})

Properties

dataStream Stream<Uint8List>
no setter
hashCode int
The hash code for this object.
no setterinherited
pingInterval Duration
final
pingTimeout Duration
final
reconnectDelay Duration
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state PubsubState
no setter
stateStream Stream<PubsubState>
no setter
tokenCallback TokenCallback
final

Methods

connect() Future<void>
disconnect() → void
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