BackgroundNotification class

后台定位notification

Constructors

BackgroundNotification({required String contentTitle, required String contentText, int? when, required String channelId, required String channelName, bool enableLights = true, bool showBadge = true})

Properties

channelId String
getter/setter pair
channelName String
getter/setter pair
contentText String
getter/setter pair
contentTitle String
getter/setter pair
enableLights bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showBadge bool
getter/setter pair
when int?
getter/setter pair

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