mapRow<R> method

List<R> mapRow<R>(
  1. String name,
  2. R block(
    1. Row
    )
)

Implementation

List<R> mapRow<R>(String name, R Function(Row) block) {
  final rs = query(name);
  return rs.mapList((e) => block(e));
}