PushStartContext class

启动推送链路所需的上下文,用于吸收各平台 start 签名的差异。

Constructors

PushStartContext({required String operation, required bool enablePush, Map<String, Object?>? pushOptions})
const

Properties

enablePush → bool
final
hashCode → int
The hash code for this object.
no setterinherited
operation → String
诊断用操作名:'configureAndroidPush' / 'configureIOSPush' / 'configureOhosPush'。
final
pushOptions → Map<String, Object?>?
已序列化的厂商推送配置;OHOS 走 Push Kit,不使用它,因此为 null。
final
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