MethodChannelPntaFlutter class
An implementation of PntaFlutterPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- PntaFlutterPlatform
- MethodChannelPntaFlutter
Constructors
Properties
-
foregroundNotifications
→ Stream<
Map< String, dynamic> > -
Emits notification payloads when received while the app is in the foreground.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
-
onNotificationTap
→ Stream<
Map< String, dynamic> > -
Emits notification payloads when the user taps a notification (background/tap event).
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkNotificationPermission(
) → Future< bool> -
override
-
getDeviceToken(
) → Future< String?> -
override
-
identify(
String projectId) → Future< String?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestNotificationPermission(
) → Future< bool> -
override
-
setForegroundPresentationOptions(
{required bool showSystemUI}) → Future< void> -
Configures whether the native system UI should be shown for foreground notifications.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
updateMetadata(
String projectId, [Map< String, dynamic> ? metadata]) → Future<void> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited