SBDColumn<T1> constructor

SBDColumn<T1>({
  1. required String name,
  2. SBDColumnDataType type = SBDColumnDataType.TEXT,
  3. bool isPrimaryKey = false,
  4. bool isUnique = false,
  5. bool isNotNull = false,
  6. T1? defaultValue,
  7. bool isAutoIncrement = false,
  8. List<String>? foreignKey,
})

Implementation

SBDColumn({
  required this.name,
  this.type = SBDColumnDataType.TEXT,
  this.isPrimaryKey = false,
  this.isUnique = false,
  this.isNotNull = false,
  this.defaultValue,
  this.isAutoIncrement = false,
  this.foreignKey,
});