MethodChannelMokone class
An implementation of MokonePlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- MokonePlatform
- MethodChannelMokone
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
-
enableProductionEnvironment(
bool isProdEnv) → Future< void> -
override
-
handleBannerClick(
String url) → Future< void> -
override
-
initMokSdk(
bool isProdEnv, int duration, int maxDisplayedIAMs) → Future< void> -
override
-
isNotificationPermissionGranted(
) → Future< bool?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openNotificationSettings(
) → Future< void> -
override
-
requestCarouselData(
) → Future< String?> -
override
-
requestFcmToken(
) → Future< String?> -
override
-
requestIAMFromServerAndShow(
) → Future< void> -
override
-
requestLogEvent(
String userId, String eventName, Map< String, dynamic> ? params) → Future<String?> -
override
-
requestLogoutUser(
) → Future< bool?> -
override
-
requestNotificationPermission(
) → Future< void> -
override
-
requestUpdateUser(
String userId, Map< String, dynamic> ? userData) → Future<String?> -
override
-
requestUserId(
) → Future< String?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited