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