asMap property
Returns a "list of maps" representation of this result set. Each map has the same keys - the columnNames. The values are the actual values in the row. The maps are read-only views on rows.
Implementation
Iterable<Map<String, dynamic>> get asMap {
return rows.map((row) => _QueryResultRow(_columnIndexes, row));
}