StackTidy<KL, KG, T> class
Stacks
Equivalent to Stack, except that it is designed to work with tidy data.
Constructors
- StackTidy.new({required (KL, KG) key(T), required num value(T)})
-
Constructs a new stack generator with the given
key
andvalue
accessors.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key ↔ (KL, KG) Function(T)
-
The key accessor.
getter/setter pair
-
offset
↔ void Function(List<
List< , List<List< >num> >int> ) -
Given the generated series list and the order index list, it is then
responsible for updating the lower and upper values in the series list.
getter/setter pair
-
order
↔ Iterable<
int> Function(List<List< )List< >num> > -
Given the generated series list, it must return an list of numeric indices
representing the stack order.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ num Function(T)
-
The value accessor.
getter/setter pair
Methods
-
call(
Iterable< T> data) → List<StackSeries< KL, T> > -
Generates a stack for the given list of
data
and returns an list representing each series. -
constValue(
num value) → void - Defines the Stack.value-accessor as a constant function that always returns the specified value.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited