DatabaseColumn<T, R> constructor

  1. @literal
const DatabaseColumn<T, R>(
  1. String name,
  2. String type, {
  3. String constraints = 'NOT NULL',
  4. bool unique = false,
  5. bool indexed = false,
})

Implementation

@literal
const DatabaseColumn(
  this.name,
  this.type, {
  this.constraints = 'NOT NULL',
  this.unique = false,
  this.indexed = false,
});