CHAR constructor

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

Implementation

const CHAR({
  required int length,
  super.name,
  super.primaryKey = false,
  super.notNull = false,
  super.unique = false,
  super.index = false,
  super.check,
  super.uniqueName,
  super.defaultValue,
  super.extras,
}) : super(type: "TEXT");