Sort class
Describes the rules by which an individual column should be sorted.
Constructors
- Sort(dynamic column, {bool ascending = true, bool emptyFirst = false, CompareCells? compare})
Properties
- ascending → bool
-
Defines the sort order of cells that have values. That is, cells that are
not null or not an empty string.
final
- column ↔ dynamic
-
Identifies the column that we are sorting. This can be either int,
which specifies the column index, or String, which specifies
the column name.
getter/setter pair
- compare → CompareCells?
-
final
- emptyFirst → bool
-
Specifies whether the empty values should be placed at the beginning
or at the end of the sorted column.
final
- 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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited