Skip to content

Commit ffa373b

Browse files
authored
fix dartdoc (dart-lang#716)
1 parent 3b36276 commit ffa373b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source_gen/lib/src/utils.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import 'package:yaml/yaml.dart';
2020
/// typedef VoidFunc = void Function();
2121
/// ```
2222
///
23-
/// This function will return `'VoidFunc'`, unlike [DartType.element.name].
23+
/// This function will return `'VoidFunc'`, unlike [DartType.element]`.name`.
2424
String typeNameOf(DartType type) {
2525
final aliasElement = type.alias?.element;
2626
if (aliasElement != null) {

0 commit comments

Comments
 (0)