SqlField<TIn, TOut> constructor

const SqlField<TIn, TOut>({
  1. required String fieldName,
  2. SqlFieldType fieldType = SqlFieldType.text,
  3. bool isPrimaryKey = false,
  4. bool isAutoIncrement = false,
  5. String? defaultValueExpression,
  6. DataConverter<TIn, TOut>? fromRawData,
  7. DataConverter<TIn, TOut>? toRawData,
})

Implementation

const SqlField({
  required this.fieldName,
  this.fieldType = SqlFieldType.text,
  this.isPrimaryKey = false,
  this.isAutoIncrement = false,
  this.defaultValueExpression,
  this.fromRawData,
  this.toRawData,
});