read static method

Implementation

static Future<Results> read(StreamedResults r) async {
  List<Row> rows = await r.toList();
  List<Field> f = r.fields != null ? r.fields as List<Field> : <Field>[];
  return Results(rows, f, r.insertId, r.affectedRows);
}