Skip to content

Commit a9d3b73

Browse files
committed
Amended generated dartdocs of getter value.
1 parent 0b04642 commit a9d3b73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generic_enum_builder/lib/src/writers/value_writer.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ class ValueWriter {
109109
return b.toString();
110110
}
111111
// Dart Docs.
112-
b.writeln('/// Returns value of type <$valueType> mapped to');
113-
b.writeln('/// an instance of `${enumType}`.');
112+
b.writeln('/// Returns a map of type `Map<$valueType, $enumType>` mapping');
113+
b.writeln('/// each declared enum value to an instance of `$enumType`.');
114114
// Function declaration.
115115
b.writeln(
116116
'$valueType get value => const <$enumType, $valueType>{',

0 commit comments

Comments
 (0)