TomTodoRepeat class
The day of a month a monthly or yearly rule names — exactly one of:
day (1–31; a month without that day takes its last), lastDay, the
nth weekday (1–5, or -1 for the last), or the first / last working day
(workingDay, Monday to Friday).
Constructors
Properties
- count ↔ int?
-
The number of repetitions after which the todo is done for good.
getter/setter pair
- day ↔ int?
-
For
monthly/yearly: a day of the month, 1–31.getter/setter pair - every ↔ int
-
The interval: every N days / weeks / months / years. At least 1.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastDay ↔ bool
-
For
monthly/yearly: the last day of the month.getter/setter pair - month ↔ int?
-
For
yearly: the month, 1–12.getter/setter pair - nth ↔ int?
-
For
monthly/yearly: the nth (1–5, -1 = last) weekday of the month.getter/setter pair - rule ↔ TomTodoRepeatRule
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- time ↔ String?
-
The time of day,
HH:MM, local; absent: the start of the day.getter/setter pair - unit ↔ String?
-
For
after:days,weeks,monthsoryears.getter/setter pair - until ↔ String?
-
The last day a repetition may be due on,
yyyy-MM-dd.getter/setter pair - weekday ↔ String?
-
getter/setter pair
-
weekdays
↔ List<
String> -
For
weekly:mon…sun.getter/setter pair - workingDay ↔ String?
-
For
monthly/yearly:firstorlastworking day of the month.getter/setter pair
Methods
-
check(
) → void - Throws a FormatException when the rule is not one the schema allows.
-
copy(
) → TomTodoRepeat -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> - The stored form, fields in the schema's order, each only when set.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- nextRepeatRe → RegExp
-
A
next_repeatmoment:yyyy-MM-ddTHH:MMwithZor an offset.final
Static Methods
-
fromMap(
Map map) → TomTodoRepeat -
Reads a stored
repeat:map; an unknown key or value is a format error.