StringColumn constructor

StringColumn(
  1. String name,
  2. int maxLength, {
  3. bool allowNull = false,
  4. bool unique = false,
  5. Object? defaultValue,
})

Implementation

StringColumn(String name, int maxLength, {bool allowNull = false, bool unique = false, Object? defaultValue})
    : super(name, allowNull: allowNull, defaultValue: defaultValue, unique: unique) {
  fieldType = dbType.String;
  this._maxLength = maxLength;
}