AppMetricaPush class

Methods of the class are used for configuring the AppMetrica Push SDK library.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

tokenStream Stream<Map<String, String?>>
Token update stream.
no setter

Static Methods

activate() Future<void>
Initializes the library in the app. Method should be invoked after initialization of the AppMetrica SDK.
getTokens() Future<Map<String, String?>>
Returns a list of tokens for push providers that AppMetrica Push SDK was initialized with.
requestPermission({bool alert = false, bool badge = false, bool sound = false}) Future<void>
Requests permissions to