LiveChat class
Live Chat Plus plugin class.
Constructors
- LiveChat.new()
-
Constructs Livechat.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onLiveChatEventReceived → Stream?
-
Subscribe to events stream coming from live chat windows such as:
open, close, message, actual message text, etc.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearChatSession(
) → Future< void> - Call to clear the chat session, for example, after logout,
-
closeChatWindow(
) → Future< void> - Call to close/hide the chat window.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openChatWindow(
{required String licenseId, required String username, required String email, String? groupId, Map< String, String> ? customParameters}) → Future<void> -
Call to open the live chat window. It requires
licenseId
,username
, andemail
. In addition, optionalgroupId
andcustomParameters
can be passed if needed. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited