Model constructor

const Model({
  1. required String name,
  2. String? dbName,
  3. required Iterable<Field> fields,
  4. required Iterable<UniqueIndex> uniqueIndexes,
  5. String? documentation,
  6. PrimaryKey? primaryKey,
  7. required bool isGenerated,
})

Implementation

const Model({
  required this.name,
  this.dbName,
  required this.fields,
  required this.uniqueIndexes,
  this.documentation,
  this.primaryKey,
  required this.isGenerated,
});