MethodChannelDitoSdk class
An implementation of DitoSdkPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- DitoSdkPlatform
- MethodChannelDitoSdk
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
-
getPlatformVersion(
) → Future< String?> -
override
-
identify(
{required String id, String? name, String? email, Map< String, dynamic> ? customData}) → Future<void> -
override
-
initialize(
{required String appKey, required String appSecret}) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerDeviceToken(
String token) → Future< void> -
override
-
setDebugMode(
{required bool enabled}) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
track(
{required String action, Map< String, dynamic> ? data}) → Future<void> -
override
-
unregisterDeviceToken(
String token) → Future< void> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited