Table constructor

Table({
  1. required String tableName,
  2. TableRelation? tableRelation,
})

Creates a new Table. Typically, this is done only by generated code.

Implementation

Table({
  required this.tableName,
  this.tableRelation,
}) {
  id = ColumnInt(
    'id',
    this,
  );
}