CountdownTimerLiveActivityPayload class

Payload for the countdown timer template.

Inheritance

Constructors

CountdownTimerLiveActivityPayload({required String header, required String title, String? statusMessage, int? endTime})
const

Properties

endTime int?
End time as epoch seconds. When null, no countdown is rendered.
final
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
statusMessage String?
Optional status message.
final
title String
Primary title line.
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