Table constructor Null safety

const Table(
  1. {bool useSnakeCaseName = false,
  2. String? name,
  3. List<Symbol>? uniquePropertySet,
  4. bool useSnakeCaseColumnName = false}
)

Default constructor.

If name is provided, the name of the underlying table will be its value. Otherwise, the name of the underlying table matches the name of the table definition class.

See also Table.unique for the behavior of uniquePropertySet.

Implementation

const Table({
  this.useSnakeCaseName = false,
  this.name,
  this.uniquePropertySet,
  this.useSnakeCaseColumnName = false,
});