MosaicPushToken class
A per-activity APNs push token surfaced from iOS ActivityKit.
When a Live Activity is started with push: true, iOS issues (and may
later rotate) a push token for that specific activity. The token is
delivered to Flutter as a lowercase hex string; forward it to your server
so the server can push updates / end the activity via APNs. See
docs/LIVE_ACTIVITIES.md → "Push updates".
Constructors
- MosaicPushToken({required String id, required String token})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The activity id this token belongs to (matches the id returned by
MosaicLiveActivities.start).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- token → String
-
The APNs push token for the activity, hex-encoded.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited