CustomerIOPlatform class abstract

The default instance of CustomerIOPlatform to use

Platform-specific plugins should override this with their own platform-specific class that extends CustomerIOPlatform when they register themselves.

Defaults to CustomerIOMethodChannel

Inheritance
  • Object
  • PlatformInterface
  • CustomerIOPlatform
Implementers

Constructors

CustomerIOPlatform()

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

clearIdentify() → void
identify({required String identifier, Map<String, dynamic> attributes = const {}}) → void
initialize({required CustomerIOConfig config}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerDeviceToken({required String deviceToken}) → void
screen({required String name, Map<String, dynamic> attributes = const {}}) → void
setDeviceAttributes({required Map<String, dynamic> attributes}) → void
setProfileAttributes({required Map<String, dynamic> attributes}) → void
subscribeToInAppEventListener(void onEvent(InAppEvent)) StreamSubscription
toString() String
A string representation of this object.
inherited
track({required String name, Map<String, dynamic> attributes = const {}}) → void
trackMetric({required String deliveryID, required String deviceToken, required MetricEvent event}) → void

Operators

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

Static Properties

instance CustomerIOPlatform
getter/setter pair