setValidationRequirement method Null safety

void setValidationRequirement(
  1. String key,
  2. bool required
)

Implementation

void setValidationRequirement(String key, bool required) {
  _setGeneralFunction(
      validationRequirements, key, required, ControlType.VALIDATION);
}