withDescription method

  1. @override
BoolSpec withDescription(
  1. String description
)
override

Creates a copy of this spec with the given description.

Implementation

@override
BoolSpec withDescription(String description) => BoolSpec(
      defaultValue: defaultValue,
      description: description,
      nullable: nullable,
      examples: examples,
      isDeprecated: isDeprecated,
    );