Zendesk class

Provides embed chat functionality

Constructors

Zendesk()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Methods

addTags({List<String>? tags}) Future<void>
Utility to optionally add tags to the conversation. This can be set to a List of strings which will then appear to the agent in the chat.
initialize(String accountKey, String appId) Future<void>
Initialize the Zendesk SDK with the provided accountKey and appId
removeTags({List<String>? tags}) Future<void>
Utility to remove tags that were added to the conversation.
setVisitorInfo({String? name, String? email, String? phoneNumber, String? department}) Future<void>
Convenience utility to prefill visitor information and optionally set a support department
startChat({Color? primaryColor, bool isPreChatFormEnabled = true, bool isAgentAvailabilityEnabled = true, bool isChatTranscriptPromptEnabled = true, bool isOfflineFormEnabled = true, String title = ''}) Future<void>
Open chat modal.