We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 197618b commit c138133Copy full SHA for c138133
lib/src/builder.dart
@@ -13,12 +13,10 @@ import 'generator.dart';
13
import 'library.dart';
14
import 'utils.dart';
15
16
-typedef String _OutputFormatter(String code);
17
-
18
/// A [Builder] wrapping on one or more [Generator]s.
19
class _Builder extends Builder {
20
/// Function that determines how the generated code is formatted.
21
- final _OutputFormatter formatOutput;
+ final String Function(String) formatOutput;
22
23
/// The generators run for each targeted library.
24
final List<Generator> _generators;
0 commit comments