TkfPushNotification class

Constructors

TkfPushNotification({dynamic onInfoPush(String title, String? text)?, required dynamic onOpening(String devId, bool hasError), dynamic onAccountPush(String title, String? text)?, int samePushIgnoreTime = 15})

Properties

hashCode int
The hash code for this object.
no setterinherited
onAccountPush ↔ dynamic Function(String title, String? text)?
getter/setter pair
onInfoPush ↔ dynamic Function(String title, String? text)?
getter/setter pair
onOpening → dynamic Function(String devId, bool hasError)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
samePushIgnoreTime int
final
token String
no setter

Methods

getToken() Future<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBackgroundPush(RemoteMessage message, String spStoreKey) Future<void>
processMsg(PushMsg msg) → void
setupPush({Future<void> onBackground(RemoteMessage)?}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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