Chore class
Constructors
-
Chore()
-
factory
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
builder()
→ _ChoreFuncBuilder
-
Registers a chore using a builder
-
getAllChores()
→ List<ChoreItem>
-
Get all the registered chores
-
init()
→ dynamic
-
Initializes the package
-
newChore(String mark, dynamic F, {int times = 1})
→ _ChoreRunner
-
Registers a new chore
-
once(String mark, dynamic f())
→ _ChoreRunner
-
Registers a new chore that runs only once
-
thrice(String mark, dynamic F)
→ _ChoreRunner
-
Registers a new chore that runs only thrice
-
twice(String mark, dynamic F)
→ _ChoreRunner
-
Registers a new chore that runs only twice