Gleap class

Constructors

Gleap()

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

addAttachment({required String base64file, required String fileName}) Future<void>
addAttachment
attachCustomData({required Map<String, dynamic> customData}) Future<void>
attachCustomData
attachNetworkLogs({required List<GleapNetworkLog> networkLogs}) Future<void>
logNetwork
clearCustomData() Future<void>
clearCustomData
clearIdentity() Future<void>
clearIdentity
close() Future<void>
close
disableConsoleLog() Future<void>
setLogLevel
enableDebugConsoleLog() Future<void>
enableDebugConsoleLog
getIdentity() Future<GleapUserProperty?>
getIdentity
handlePushNotification({required Map<String, dynamic> data}) Future<void>
handlePushNotification
identify({required String userId, GleapUserProperty? userProperties, String? userHash}) Future<void>
identify
identifyContact({required String userId, GleapUserProperty? userProperties, String? userHash}) Future<void>
identifyContact
initialize({required String token}) Future<void>
initialize
initialized({required dynamic callbackHandler()}) → void
initialized
isOpened() Future<bool>
isOpened
isUserIdentified() Future<bool>
isUserIdentified
log({required String message, LogLevel logLevel = LogLevel.INFO}) Future<void>
log
open() Future<void>
open
openChecklist({required String checklistId, required bool showBackButton}) Future<void>
openChecklist
openChecklists({required bool showBackButton}) Future<void>
openChecklists
openConversation({required String shareToken}) Future<void>
setDisableInAppNotifications
openFeatureRequests({required bool showBackButton}) Future<void>
openFeatureRequests
openHelpCenter({required bool showBackButton}) Future<void>
openHelpCenter
openHelpCenterArticle({required String articleId, required bool showBackButton}) Future<void>
openHelpCenterArticle
openHelpCenterCollection({required String collectionId, required bool showBackButton}) Future<void>
openHelpCenterCollection
openNews({required bool showBackButton}) Future<void>
openNews
openNewsArticle({required String articleId, required bool showBackButton}) Future<void>
openNewsArticle
preFillForm({required Map<String, dynamic> formData}) Future<void>
preFillForm
registerListener({required String actionName, required dynamic callbackHandler(dynamic data)}) → void
registerListener
registerPushMessageGroup({required dynamic callbackHandler(String topic)}) → void
registerPushMessageGroup
removeAllAttachments() Future<void>
removeAllAttachments
removeCustomDataForKey({required String key}) Future<void>
removeCustomDataForKey
searchHelpCenter({required String term, required bool showBackButton}) Future<void>
searchHelpCenter
sendSilentCrashReport({required String description, required Severity severity, Map<String, dynamic> excludeData = const {}}) Future<void>
sendSilentCrashReport
setActivationMethods({required List<ActivationMethod> activationMethods}) Future<void>
setActivationMethods
setAiTools({required List<AITool> tools}) Future<void>
setAiTools
setApiUrl({required String url}) Future<void>
setApiUrl
setCustomData({required String key, required String value}) Future<void>
setCustomData
setDisableInAppNotifications({required bool disable}) Future<void>
setDisableInAppNotifications
setFrameUrl({required String url}) Future<void>
setFrameUrl
setLanguage({required String language}) Future<void>
setLanguage
setNetworkLogPropsToIgnore({required List<String> propsToIgnore}) Future<void>
setNetworkLogPropsToIgnore
setNetworkLogsBlacklist({required List<String> blacklist}) Future<void>
setNetworkLogsBlacklist
setTags({required List<String> tags}) Future<void>
setTags
setTicketAttribute({required String key, required dynamic value}) Future<void>
setTicketAttribute
showFeedbackButton(bool visible) Future<void>
showFeedbackButton
showSurvey({required String surveyId, SurveyFormat format = SurveyFormat.SURVEY}) Future<void>
showSurvey
startBot({required String botId, bool showBackButton = true}) Future<void>
startBot
startChecklist({required String outboundId, required bool showBackButton}) Future<void>
startChecklist
startClassicForm({required String formId, bool showBackButton = true}) Future<void>
startClassicForm
startConversation({bool showBackButton = true}) Future<void>
startConversation
startFeedbackFlow({required String feedbackAction, bool showBackButton = true}) Future<void>
startFeedbackFlow
trackEvent({required String name, Map<String, dynamic>? data}) Future<void>
trackEvent
trackPage({required String pageName}) Future<void>
trackPage
unregisterPushMessageGroup({required dynamic callbackHandler(String topic)}) → void
unregisterPushMessageGroup
updateContact({required GleapUserProperty userProperties}) Future<void>
updateContact