ScheduleSpec class sealed

Base class for all scheduler specifications.

A schedule specification defines when a task should repeat, but does not store state. State and execution history are managed by ScheduleEntry.

Implementers

Constructors

ScheduleSpec.fromPersisted(Object? raw)
Reconstructs a schedule specification from a persisted representation.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
kind → String
The discriminator kind for this specification.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith() → ScheduleSpec
Creates a copy of this specification with optional overrides.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
Serializes the specification into a JSON-compatible map.
toString() → String
A string representation of this object.
inherited

Operators

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