HatangSession class

A read-only view of the session for hosts.

Annotations

Constructors

HatangSession({required HatangLocale locale, String? visitorId, String? conversationId, bool isIdentified = false, String? email, String? name})
Creates a session view.
const

Properties

conversationId → String?
Active conversation id.
final
email → String?
Known email.
final
hashCode → int
The hash code for this object.
no setterinherited
isIdentified → bool
identify attached an identity.
final
locale → HatangLocale
Locale in use.
final
name → String?
Known name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
visitorId → String?
Visitor id (after bootstrap).
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