Column class Null safety
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. [...]
read-only, inherited
- 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.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited