FieldInfo constructor

const FieldInfo({
  1. required String name,
  2. required String columnName,
  3. required String type,
  4. bool isId = false,
  5. bool isUnique = false,
  6. bool isNullable = false,
  7. bool isRelation = false,
  8. String? defaultValue,
})

Implementation

const FieldInfo({
  required this.name,
  required this.columnName,
  required this.type,
  this.isId = false,
  this.isUnique = false,
  this.isNullable = false,
  this.isRelation = false,
  this.defaultValue,
});