SegmentsLiveActivityPayload class

Payload for the segmented progress template.

Inheritance

Constructors

SegmentsLiveActivityPayload({required String header, required String status, String? substatus, required int segmentsTotal, required int segmentsComplete, String? trailingText})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
Static, non-changing header shown on the activity (an attribute, not state).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segmentsComplete int
Number of segments completed so far.
final
segmentsTotal int
Total number of segments.
final
status String
Primary status line.
final
substatus String?
Optional secondary status line.
final
trailingText String?
Optional trailing text (e.g. an ETA or count).
final
type LiveActivityTemplate
The built-in template this payload targets.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Serializes the payload into a flat map understood by the native handlers.
override
toString() String
A string representation of this object.
inherited

Operators

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