Field constructor

Field(
  1. String name, {
  2. List<ValidatorEvent> validators = const [],
  3. Object? initValue,
  4. Type type = String,
  5. Function? initOptions,
})

Implementation

Field(
  this.name, {
  this.validators = const [],
  this.initValue,
  this.type = String,
  this.initOptions,
});