NotiflyFlutterAndroid class
The Android implementation of NotiflyFlutterPlatform
.
- Inheritance
-
- Object
- PlatformInterface
- NotiflyFlutterPlatform
- NotiflyFlutterAndroid
Constructors
- NotiflyFlutterAndroid()
- Creates a new instance of NotiflyFlutterAndroid.
Properties
- channel ↔ MethodChannel
-
The method channel used to interact with the native platform.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getPlatformName(
) → Future< String?> -
Return the current platform name.
override
-
initialize(
String projectId, String username, String password) → Future< void> -
Initialize Notifly Flutter.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestPermission(
) → Future< void> -
Requests web push permission. Only works on web.
inherited
-
setEmail(
String email) → Future< void> -
Sets the email for current user.
override
-
setLogLevel(
int logLevel) → Future< void> -
Set log level for development.
override
-
setPhoneNumber(
String phoneNumber) → Future< void> -
Sets the phone number for current user.
override
-
setTimezone(
String timezone) → Future< void> -
Sets the timezone for current user.
override
-
setUserId(
String? userId) → Future< void> -
Sets the user ID.
override
-
setUserProperties(
Map< String, Object> params) → Future<void> -
Sets the user properties.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
trackEvent(
String eventName, Map< String, Object> ? eventParams, List<String> ? segmentationEventParamKeys) → Future<void> -
Track an event.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
) → void -
Registers this class as the default instance of
NotiflyFlutterPlatform