IosBlockSchedule class

A recurring iOS block window for the apps chosen in the picker.

Needs the Device Activity Monitor extension. Each part of the window must last at least 15 minutes (an Apple limit); overnight windows are split at midnight.

Annotations

Constructors

IosBlockSchedule({required String id, required DailyTime start, required DailyTime end, Set<int> weekdays = BlockSchedule.allWeekdays})
const
IosBlockSchedule.fromMap(Map<String, dynamic> map)
factory

Properties

end → DailyTime
final
hashCode → int
The hash code for this object.
no setteroverride
id → String
Identifies the schedule; setting a schedule with an existing id replaces it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
start → DailyTime
final
weekdays → Set<int>
Days the window starts on: DateTime.monday (1) to DateTime.sunday (7).
final

Methods

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

Operators

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