SessionReplacedOptions class

Options for sessionReplaced.

data is the server payload (roomName, member, reason, sessionSeq). useThisOne takes the session over deliberately (the SDK components reconnect with the credentials this connection used). Without a context the message is shown through showAlert.

Constructors

SessionReplacedOptions({Map<String, dynamic>? data, ShowAlert? showAlert, BuildContext? context, FutureOr<void> useThisOne()?})

Properties

context → BuildContext?
final
data → Map<String, dynamic>?
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showAlert → ShowAlert?
final
useThisOne → FutureOr<void> Function()?
final

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