QueryResult constructor

const QueryResult({
  1. required List<String> columns,
  2. required List<List> rows,
  3. required int rowCount,
})

Creates a new QueryResult instance.

The columns list must match the order of values in each row of rows. The rowCount should equal the length of rows.

Implementation

const QueryResult({
  required this.columns,
  required this.rows,
  required this.rowCount,
});