LiveActivity class
Model class representing a Live Activity entity
Constructors
- LiveActivity(Map map)
- Constructor that parses a Map into a LiveActivity object
Properties
- androidTopicId ↔ String?
-
Android topic ID associated with the Live Activity (optional)
getter/setter pair
- applicationId ↔ String?
-
Application ID associated with the Live Activity
getter/setter pair
- createdAt ↔ String?
-
Timestamp string when the Live Activity was created
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
Unique identifier of the Live Activity
getter/setter pair
- iosChannelId ↔ String?
-
iOS channel ID associated with the Live Activity (optional)
getter/setter pair
- liveActivityExternalId ↔ String?
-
External ID for the Live Activity (optional, can be used for tracking)
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ String?
-
Status of the Live Activity (e.g., active, ended)
getter/setter pair
- updatedAt ↔ String?
-
Timestamp string when the Live Activity was last updated
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Converts the LiveActivity instance to a Map for sending back to native or JSON serialization
-
toString(
) → String -
Converts the LiveActivity instance to a JSON string
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
createArray(
dynamic list) → List< LiveActivity> - Static helper to create a List