QueryResult constructor
Constructs a QueryResult by specifying the order of column names in
columnNames
and the associated data in rows
.
Implementation
QueryResult(this.columnNames, this.rows)
: _columnIndexes = {
for (var column in columnNames)
column: columnNames.lastIndexOf(column)
};