EverySkipCountWrapper<T extends Every> class
- Inheritance
-
- Object
- Every
- EveryModifier<
T> - EverySkipCountWrapper
- Mixed-in types
Constructors
- EverySkipCountWrapper({required T every, required int count})
-
Class that wraps an Every generator and skips count times from the
Every base process.
const
Properties
- count → int
-
The number of times to skip.
final
- every → T
-
The base generator for this EveryModifier.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, the toString method will be overridden to output this instance's props.no setterinherited
Methods
-
next(
DateTime date, {DateTime? limit, int? currentCount}) → DateTime -
Generates the next of the every base process.
It will skip
currentCounttimes from thedateusing the EverySkipCountWrapper.next process.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
previous(
DateTime date, {DateTime? limit, int? currentCount}) → DateTime -
Generates the previous of the every base process.
It will skip
currentCounttimes from thedateusing the EverySkipCountWrapper.previous process.override -
processDate(
DateTime date, DateDirection direction, {DateTime? limit, int? currentCount}) → DateTime -
Continues iterating the every base process.
It will skip
currentCounttimes from thedate.override -
startDate(
DateTime date, {DateTime? limit, int? currentCount}) → DateTime -
Generates the start date of the every base process.
It will skip
currentCounttimes from thedateusing the EverySkipCountWrapper.next process.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override