useDocCommentAsDescription property

bool? useDocCommentAsDescription
final

Whether to use the doc comment of the enum for the description method.

EnumValue.description will override the doc comment description.

If false, the description will return null unless overridden by EnumValue.description.

default: true

Implementation

final bool? useDocCommentAsDescription;