MethodChannelAntsomi class

An implementation of AntsomiPlatform that uses method channels.

Inheritance

Constructors

MethodChannelAntsomi()

Properties

callback ↔ void Function(InboxItem)
latefinalinherited
deepLinkHandler ↔ void Function(String urlString)
latefinalinherited
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setDefaultAction ↔ void Function()?
getter/setter pairinherited

Methods

appInboxInit({required int destinationID, required String audienceType}) Future
override
config({required String portalId, required String propsId, required String appGroupId, required String applicationID}) Future<bool?>
override
configureChannel() → void
inherited
decodeObject(Object? data) Map<String, String>
getAllLabels() Future<List<Catalog>>
override
getContext() Future<String?>
override
getCustomerID() Future<String?>
override
getDeviceID() Future<String?>
override
getMessage({List<String>? catalogID = const [], required int page}) Future<List<InboxItem>>
override
getMessageByID({required String messageID}) Future<Map<String, String>>
override
getPlatformVersion() Future<String?>
override
getPortalID() Future<String?>
override
getPropsID() Future<String?>
override
getUID() Future<String?>
override
getUnreadMessageCount() Future<int?>
override
modifyAction({required String messageID, required ActionType action}) → void
override
newMessageReceived() Future<Map<String, String>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onNewMessageReceived(void callback(InboxItem callbackValue)?) → void
override
override
setCustomerProperties({required String customerID, Map<String, String>? customerProperties = const {}}) Future
override
setPageLimit({required int limit}) → void
override
toString() String
A string representation of this object.
inherited
track({required CDPEvent event}) → void
override
trackScreen({required String name, String title = "", String type = ""}) → void
override

Operators

operator ==(Object other) bool
The equality operator.
inherited