Table constructor
const
Table({
- String? name,
- NameConversion nameConversion = snakeCapitalCaseConversion,
- SQLTableAdditionalDefinition? additional,
- List? annotations,
- bool constantClass = false,
create table annotation
By default, if name is not provided generate will use naming conversion function convert the name of mixin into sql snake case and omit prefix or suffix word 'Mixin'.
Implementation
const Table({
this.name,
this.nameConversion = snakeCapitalCaseConversion,
this.additional,
this.annotations,
this.constantClass = false,
});