WallpaperAutoChangeStatus class

Current status of the wallpaper auto change engine.

Constructors

WallpaperAutoChangeStatus({required bool isRunning, required int intervalMinutes, required int nextIndex, required int totalCount, required int nextRunEpochMs, required WallpaperTarget target, String? lastError})
Creates a status snapshot.
const
WallpaperAutoChangeStatus.fromMap(Map? map)
Parses a platform-channel response map into a strongly typed status.
factory
WallpaperAutoChangeStatus.stopped()
Creates a stopped/default status.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
intervalMinutes int
Interval between wallpaper changes in minutes.
final
isRunning bool
Whether Auto Change is currently active.
final
lastError String?
Last recorded platform error, if any.
final
nextIndex int
Zero-based index of the next wallpaper that will be applied.
final
nextRunAt DateTime?
Convenience getter for the next scheduled run time.
no setter
nextRunEpochMs int
Next scheduled run time in Unix epoch milliseconds.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
target WallpaperTarget
Target screen(s) the Auto Change engine applies to.
final
totalCount int
Total number of wallpapers in the current playlist.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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