StringField constructor

StringField({
  1. String? columnName,
  2. bool? notNull,
  3. bool? isUnique,
  4. String? jsonMapName,
  5. String? defaultValue,
})

Create an instance of StringField

Implementation

StringField(
    {String? columnName,
    bool? notNull,
    bool? isUnique,
    String? jsonMapName,
    String? defaultValue})
    : super(columnName,
          notNull: notNull,
          isUnique: isUnique,
          jsonMapName: jsonMapName,
          jsonMapType: String) {
  value = defaultValue;
}