LocalNotificationWithIOS class
ios 本地推送消息设置
- Inheritance
-
- Object
- LocalNotification
- LocalNotificationWithIOS
Constructors
- LocalNotificationWithIOS({required int id, String? sound = 'default', String subtitle = 'subtitle'})
Properties
- badge → int?
-
本地推送触发后应用角标值
finalinherited
- content → String
-
通知内容
finalinherited
-
extra
→ Map<
String, String> -
extra 字段
finalinherited
- fireTime → int
-
通知触发时间(秒)
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
通知 id, 可用于取消通知
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sound → String?
-
指定推送的音频文件 默认为 'default'
final
- subtitle → String
-
子标题
final
- title → String
-
通知标题
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toAndroid(
) → LocalNotificationWithAndroid -
inherited
-
toIOS(
) → LocalNotificationWithIOS -
inherited
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited