TableInfo constructor

const TableInfo({
  1. required String name,
  2. required List<ColumnInfo> columns,
  3. Map<String, String> checks = const {},
})

Table information for DDL generation: the full definition a generator needs to emit a CREATE TABLE, or to rebuild one.

Implementation

const TableInfo({
  required this.name,
  required this.columns,
  this.checks = const {},
});