Control control(Object value, [ ValidatorFn validator = null, AsyncValidatorFn asyncValidator = null ])

Construct a new Control with the given value, validator, and asyncValidator.

Source

model_module.Control control(Object value,
    [ValidatorFn validator = null, AsyncValidatorFn asyncValidator = null]) {
  return new model_module.Control(value, validator, asyncValidator);
}