Model constructor
const
Model({
- required String name,
- String? dbName,
- required Iterable<
Field> fields, - required Iterable<
UniqueIndex> uniqueIndexes, - String? documentation,
- PrimaryKey? primaryKey,
- required bool isGenerated,
Implementation
const Model({
required this.name,
this.dbName,
required this.fields,
required this.uniqueIndexes,
this.documentation,
this.primaryKey,
required this.isGenerated,
});