Field constructor

Field({
  1. required List<IValidator> validators,
  2. String id = '',
  3. bool nullable = false,
  4. bool optional = false,
})

Implementation

Field({
  required this.validators,
  super.id,
  super.nullable,
  super.optional,
}) : super(validator: Result.valid);