LocalNotificationWithAndroid class

android 本地推送消息设置

Inheritance

Constructors

LocalNotificationWithAndroid({required int id, int buildId = 1})

Properties

badge int?
本地推送触发后应用角标值
finalinherited
buildId int
通知样式:1 为基础样式,2 为自定义样式(需先调用 setStyleCustom 设置自定义样式)
final
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
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