LiveActivityClick class

A tap on a Live Activity — either on its body or on one of its action buttons.

Constructors

LiveActivityClick({required String liveNotificationId, String? deepLink, int actionIndex = -1})
const
LiveActivityClick.fromMap(Map map)
factory

Properties

actionIndex int
Index of the tapped action button, or -1 for a tap on the body.
final
Deep link carried by the clicked element, if any.
final
hashCode int
The hash code for this object.
no setterinherited
isBodyClick bool
Whether the user tapped the notification body rather than a button.
no setter
liveNotificationId String
Backend id of the clicked live notification.
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.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited