We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b04642 commit a9d3b73Copy full SHA for a9d3b73
generic_enum_builder/lib/src/writers/value_writer.dart
@@ -109,8 +109,8 @@ class ValueWriter {
109
return b.toString();
110
}
111
// Dart Docs.
112
- b.writeln('/// Returns value of type <$valueType> mapped to');
113
- b.writeln('/// an instance of `${enumType}`.');
+ b.writeln('/// Returns a map of type `Map<$valueType, $enumType>` mapping');
+ b.writeln('/// each declared enum value to an instance of `$enumType`.');
114
// Function declaration.
115
b.writeln(
116
'$valueType get value => const <$enumType, $valueType>{',
0 commit comments