withDescription method
Creates a copy of this spec with the given description.
Implementation
@override
ObjectSpec withDescription(String description) => ObjectSpec(
name: name,
properties: properties,
required: required,
additionalProperties: additionalProperties,
title: title,
description: description,
nullable: nullable,
examples: examples,
isDeprecated: isDeprecated,
);