Column class
Defined a column to sort by for the FileSort class.
Constructors
- Column(int? ordinal, ColumnComparator? _comparator, SortDirection? _sortDirection)
-
ordinal
the (base 1) index of the column. The_comparator
we will used to compare to lines when sorting. The_sortDirection
is either ascending or decending. - Column.parse(String column, {bool ordinalOnly = false})
- A column string is formed as:
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ordinal ↔ int?
-
ordinal is the column index using base 1
An ordinal of 0 means that we are treating the entire
line as a single column.
getter/setter pair
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited