Table constructor

const Table({
  1. String? name,
  2. NameConversion nameConversion = snakeCapitalCaseConversion,
  3. SQLTableAdditionalDefinition? additional,
  4. List? annotations,
  5. 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,
});