FieldResultFree<T> constructor

FieldResultFree<T>(
  1. DBFieldFree field, {
  2. bool success = true,
  3. bool failed = false,
  4. String error = '',
  5. List? errors,
  6. String errorHtml = '',
  7. String valid = '',
  8. T? value,
  9. T? parsedValue,
})

Implementation

FieldResultFree(
  this.field, {
  this.success = true,
  this.failed = false,
  this.error = '',
  List? errors,
  this.errorHtml = '',
  this.valid = '',
  this.value,
  this.parsedValue,
}) {
  this.errors = errors ?? [];
}