IntField constructor

IntField({
  1. String? columnName,
  2. bool? autoIncrement,
  3. bool? primaryKey,
  4. bool? notNull,
  5. int? defaultValue,
  6. bool? isUnique,
  7. String? jsonMapName,
})

Create an instance of IntField

Implementation

IntField(
    {String? columnName,
    this.autoIncrement,
    this.primaryKey,
    bool? notNull,
    int? defaultValue,
    bool? isUnique,
    String? jsonMapName})
    : super(columnName,
          notNull: notNull,
          isUnique: isUnique,
          jsonMapName: jsonMapName,
          jsonMapType: int) {
  value = defaultValue;
}