IndigitallFlutterPlugin class

Constructors

IndigitallFlutterPlugin()

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 Properties

onGetPushOnSuccess ↔ (dynamic Function(Push push)?)
callback to return the new push info
getter/setter pair
onMessageReceivedOnSuccess ↔ (dynamic Function(Map? notification)?)
callback to return the new push info
getter/setter pair

Static Methods

addNewInAppToDismissForever(InApp inApp) → void
addNewInAppToDismissForever
assignOrUpdateValueToCustomerFields(Map fields, dynamic onSuccess(Customer customer)?, dynamic onError(ErrorModel error)?) → void
edit or update customer fields
deleteValuesFromCustomerFields(List<String> fieldNames, dynamic onSuccess(Customer customer)?, dynamic onError(ErrorModel error)?) → void
delete fields of Customer
deviceDisable(dynamic onSuccess(Device device)?, dynamic onError(ErrorModel error)?) → void
Disable the Device to receive push notifications
deviceEnable(dynamic onSuccess(Device device)?, dynamic onError(ErrorModel error)?) → void
Enable the Device to receive push notifications
eventClickInAppRequest(InApp inApp) → void
Add InApp New Click
eventPrintInAppRequest(InApp inApp) → void
Add InApp New Click
getCustomer(dynamic onSuccess(Customer customer)?, dynamic onError(ErrorModel error)?) → void
get Customer info
getCustomerInformation(List<String> fields, dynamic onSuccess(List<CustomerField> fields)?, dynamic onError(ErrorModel error)?) → void
get Customer fields information
getInApp(String inAppCode, String? appKey, String? domainInApp, dynamic onSuccess(InApp inApp)?, dynamic didExpired(ErrorModel error)?, dynamic didShowManyTimes(ErrorModel error)?, dynamic didClickOut(ErrorModel error)?, dynamic dismissForever(ErrorModel error)?, dynamic onError(ErrorModel error)?) → void
Get InApp
getInbox(Map? authInbox, dynamic onSuccess(Inbox inbox)?, dynamic onError(ErrorModel error)?) → void
Callback to get the Push info when it is clicked Throw ErrorModel if there is some error during the processs Get Inbox for a external Id
getInfoFromNotificationWithSendingId(Map? authInbox, Map param, dynamic onSuccess(InboxNotification notification)?, dynamic onError(ErrorModel error)?) → void
Get info of a notification with SendingId list
getMessageCount(Map? authInbox, dynamic onSuccess(InboxCounter counters)?, dynamic onError(ErrorModel error)?) → void
Get the counters of Inbox
getNextPage(Map? authInbox, dynamic onSuccess(Inbox inbox)?, dynamic onError(ErrorModel error)?) → void
Get next page of Inbox
getPush(dynamic onSuccess(Push push)?, dynamic onError(ErrorModel error)?) → void
Action to get push in Android
getPushPermissionStatus(dynamic onSuccess(String status), dynamic onError(ErrorModel error)?) → void
Get status of push permission
getToken(dynamic onSuccess(String token), dynamic onError(String error)?) → void
Method to get push token
inAppGetHtml(String? url, dynamic onSuccess(String html)?) → void
Get inAppGetHtml
inAppTopicList(dynamic onSuccess(List<String> topic)?, dynamic onError(ErrorModel error)?) → void
inAppTopicSubscribe(List<String> params, dynamic onSuccess(List<String> topic)?, dynamic onError(ErrorModel error)?) → void
Subscribe to Topics
inAppTopicUnsubscribe(List<String> params, dynamic onSuccess(List<String> topic)?, dynamic onError(ErrorModel error)?) → void
Unsubscribe to Topics
init(Map params, dynamic onIndigitallInitialized(Device device)?, dynamic onNewUserRegistered(Device device)?, dynamic onErrorInitialized(ErrorModel error)?) → void
Initialization of Indigitall
isIndigitallPushNotification(Map? remoteMessageData, dynamic onSuccess(bool isIndigitallPush)) → void
Method to check if notification is from Indigitall
isPushSecure(Map notification) Future<bool>
Method to on check if is push secure
link Customer
logIn(String externalId, dynamic onSuccess(Device device)?, dynamic onError(ErrorModel error)?) → void
Set Log in with external Id
logOut(dynamic onSuccess(Device device)?, dynamic onError(ErrorModel error)?) → void
Set Log out
massiveEditNotificationsWithSendingIdsList(Map? authInbox, Map params, dynamic onSuccess()?, dynamic onError(ErrorModel error)?) → void
Edit one or more notifications state with SendingId list
modifyStatusFromNotificationWithSendingId(Map? authInbox, Map params, dynamic onSuccess(InboxNotification notification)?, dynamic onError(ErrorModel error)?) → void
Edit one notification state with SeindingId list
onClick(InApp inApp) → void
Add InApp New Click
onMessageReceived(dynamic onSuccess(Map? notification)) → void
Method to on message received
requestPushPermissions() → void
Request of push permissions
sendCustomEvent(Map params, dynamic onSuccess()?, dynamic onError(ErrorModel error)?) → void
Method to create a custom event that is working on backend
setExternalCode(String params, dynamic onSuccess(Device device)?, dynamic onError(ErrorModel error)?) → void
Set external code
showInApp(String inAppCode, Container container, dynamic onSuccess(InApp inApp, Container container)?, dynamic onError(ErrorModel error)?) Future<Container?>
Show InApp
showInAppWithInAppCode(String inAppCode, Container container, dynamic didExpired(Container container, ErrorModel error)?, dynamic didShowManyTimes(Container container, ErrorModel error)?, dynamic didClickOut(Container container, ErrorModel error)?, dynamic dismissForever(Container container, ErrorModel error)?, dynamic didFormSubmit(Container container, ErrorModel error)?, dynamic onSuccess(InApp inApp, Container container)?, dynamic onError(ErrorModel error)?) Future<Container?>
Show InApp
showMultipleInApp(List<String> inAppCodes, List<Container> containers, dynamic onSuccess(InApp inApp, Container container)?, dynamic onError(ErrorModel error)?) Future<ListView>
Show multiple InApp
showMultipleInAppWithInAppCode(List<String> inAppCodes, List<Container> containers, dynamic didExpired(Container container, ErrorModel error)?, dynamic didShowManyTimes(Container container, ErrorModel error)?, dynamic didClickOut(Container container, ErrorModel error)?, dynamic dismissForever(Container container, ErrorModel error)?, dynamic didFormSubmit(Container container, ErrorModel error)?, dynamic onSuccess(InApp inApp, Container container)?, dynamic onError(ErrorModel error)?) Future<ListView>
Show multiple InApp
showPopUp(Map params, dynamic onSuccess(InApp inApp)?, dynamic onFail(ErrorModel error)?) → void
Show a pop up
topicList(dynamic onSuccess(List<Topic> topic)?, dynamic onError(ErrorModel error)?) → void
Get Topic's list
topicSubscribe(List<String> params, dynamic onSuccess(List<Topic> topic)?, dynamic onError(ErrorModel error)?) → void
Subscribe to Topics
topicUnsubscribe(List<String> params, dynamic onSuccess(List<Topic> topic)?, dynamic onError(ErrorModel error)?) → void
Unsubscribe to Topics
unlink Customer