Freshchat class
Properties
-
hashCode
→ int
-
The hash code for this object. [...]
read-only, inherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-only, inherited
Static Methods
-
handlePushNotification(Map pushPayload)
→ void
-
-
identifyUser({String externalId, String restoreId})
→ void
-
-
init(String appId, String appKey, String domain, {bool responseExpectationEnabled = true, bool teamMemberInfoVisible = true, bool cameraCaptureEnabled = true, bool gallerySelectionEnabled = true, bool userEventsTrackingEnabled = true, String stringsBundle, String themeName, bool errorLogsEnabled = true})
→ void
-
-
isFreshchatNotification(Map pushPayload)
→ Future<bool>
-
-
linkifyWithPattern(String regex, String defaultScheme)
→ void
-
-
notifyAppLocaleChange()
→ void
-
-
openFreshchatDeeplink(String link)
→ void
-
-
registerForEvent(String eventName, bool shouldRegister)
→ void
-
-
resetUser()
→ void
-
-
restoreUserWithIdToken(String token)
→ void
-
-
sendMessage(String tag, String message)
→ void
-
-
setNotificationConfig({Priority priority = Priority.PRIORITY_DEFAULT, Importance importance = Importance.IMPORTANCE_DEFAULT, bool notificationSoundEnabled = true, bool notificationInterceptionEnabled = false, String largeIcon, String smallIcon})
→ void
-
-
setPushRegistrationToken(String token)
→ void
-
-
setUser(FreshchatUser user)
→ void
-
-
setUserProperties(Map propertyMap)
→ void
-
-
setUserWithIdToken(String token)
→ void
-
-
showConversations({String filteredViewTitle, List<String> tags})
→ void
-
-
showFAQ({String faqTitle, String contactUsTitle, List<String> faqTags, List<String> contactUsTags, FaqFilterType faqFilterType, bool showContactUsOnFaqScreens = true, bool showFaqCategoriesAsGrid = true, bool showContactUsOnAppBar = false, bool showContactUsOnFaqNotHelpful = true})
→ void
-
-
trackEvent(String eventName, {Map properties})
→ void
-
-
wrapperMethodCallHandler(MethodCall methodCall)
→ Future
-