ColumnProto constructor

const ColumnProto({
  1. String? name,
  2. required String type,
  3. bool primaryKey = false,
  4. bool notNull = false,
  5. int autoInc = 0,
  6. bool unique = false,
  7. bool index = false,
  8. String? check,
  9. String? uniqueName,
  10. String? defaultValue,
  11. String? extras,
})

Implementation

const ColumnProto({
  this.name,
  required this.type,
  this.primaryKey = false,
  this.notNull = false,
  this.autoInc = 0,
  this.unique = false,
  this.index = false,
  this.check,
  this.uniqueName,
  this.defaultValue,
  this.extras,
});