MethodChannelOpenpanel class
An implementation of OpenpanelPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- OpenpanelPlatform
- MethodChannelOpenpanel
Constructors
Properties
- 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
Methods
-
clear(
) → Future< void> -
Clears the stored profile id, global properties and the pending event
queue.
override
-
decrement(
String profileId, String property, num value) → Future< void> -
Decrements a numeric
propertyof the profile byvalue.override -
flush(
) → Future< void> -
Sends everything queued on the native side immediately.
override
-
identify(
String profileId, {String? firstName, String? lastName, String? email, String? avatar, Map< String, Object?> ? properties}) → Future<void> -
Creates or updates a user profile and binds subsequent events to it.
override
-
increment(
String profileId, String property, num value) → Future< void> -
Increments a numeric
propertyof the profile byvalue.override -
initialize(
OpenpanelOptions options) → Future< void> -
Configures the native client with
options.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setGlobalProperties(
Map< String, Object?> properties) → Future<void> -
Merges
propertiesinto the properties attached to every futuretrackevent. A null value removes the property.override -
toString(
) → String -
A string representation of this object.
inherited
-
track(
String name, Map< String, Object?> ? properties) → Future<void> -
Sends a named event with optional
properties.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited