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
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 userId, Map< String, dynamic> traits = 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 title, Map< String, dynamic> properties = const {}}) → void -
setDeviceAttributes(
{required Map< String, dynamic> attributes}) → void -
setProfileAttributes(
{required Map< String, dynamic> attributes}) → void -
toString(
) → String -
A string representation of this object.
inherited
-
track(
{required String name, Map< String, dynamic> properties = 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