StringSpec constructor

const StringSpec({
  1. StringFormat? format,
  2. String? pattern,
  3. int? minLength,
  4. int? maxLength,
  5. String? defaultValue,
  6. String? description,
  7. bool nullable = false,
  8. List<Object>? examples,
  9. bool isDeprecated = false,
})

Creates a new StringSpec.

Implementation

const StringSpec({
  this.format,
  this.pattern,
  this.minLength,
  this.maxLength,
  this.defaultValue,
  super.description,
  super.nullable,
  super.examples,
  super.isDeprecated,
});