Skip to content

Commit 06e7b6c

Browse files
committed
Amended generated output.
1 parent a9d3b73 commit 06e7b6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generic_enum_builder/test/generator_test.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ Future<void> main() async {
129129
String expectedValueVector =
130130
'/// Extension on `DpiResolution` providing value-getters.\n'
131131
'extension DpiResolutionValue on DpiResolution {\n'
132-
' /// Returns value of type <double> mapped to\n'
133-
' /// an instance of `DpiResolution`.\n'
132+
' /// Returns a map of type `Map<double, DpiResolution>` mapping\n'
133+
' /// each declared enum value to an instance of `DpiResolution`.\n'
134134
' double get value => const <DpiResolution, double>{\n'
135135
' DpiResolution.low: 90.0,\n'
136136
' DpiResolution.medium: 300.0,\n'

0 commit comments

Comments
 (0)