DBFieldFree<T> constructor

DBFieldFree<T>({
  1. T? defaultValue,
  2. List<ValidatorEvent> validators = const [],
  3. bool readonly = false,
  4. bool hideJson = false,
  5. bool searchable = true,
  6. bool filterable = false,
  7. T? fix<R>(
    1. R? value
    )?,
})

Implementation

DBFieldFree({
  this.defaultValue,
  this.validators = const [],
  this.readonly = false,
  this.hideJson = false,
  this.searchable = true,
  this.filterable = false,
  T? Function<R>(R? value)? fix,
}) {
  this.fix = fix;
}