DataAccessObject<T> constructor

DataAccessObject<T>(
  1. String sql, {
  2. required Converter<T?> converter,
  3. List<Relation<DataAccessObject>> relations = const [],
})

Implementation

DataAccessObject(
  final String sql, {
  required this.converter,
  this.relations = const [],
}) : schema = Schema(sql);