StringSchema constructor

const StringSchema({
  1. bool required = false,
  2. int? minLength,
  3. int? maxLength,
  4. String? pattern,
})

Implementation

const StringSchema({
  this.required = false,
  this.minLength,
  this.maxLength,
  this.pattern,
});