withDescription method
Creates a copy of this spec with the given description.
Implementation
@override
StringSpec withDescription(String description) => StringSpec(
format: format,
pattern: pattern,
minLength: minLength,
maxLength: maxLength,
defaultValue: defaultValue,
description: description,
nullable: nullable,
examples: examples,
isDeprecated: isDeprecated,
);