LiveActivity class

Model class representing a Live Activity entity

Constructors

LiveActivity.new(Map map)
Constructor that parses a Map into a LiveActivity object

Properties

createdAt String?
Timestamp string when the Live Activity was created
getter/setter pair
details ↔ dynamic
Additional details (optional, can be any map or string)
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
Unique identifier of the Live Activity
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
title String?
Title or name of the Live Activity
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