There was an error while loading. Please reload this page.
1 parent 3b36276 commit ffa373bCopy full SHA for ffa373b
source_gen/lib/src/utils.dart
@@ -20,7 +20,7 @@ import 'package:yaml/yaml.dart';
20
/// typedef VoidFunc = void Function();
21
/// ```
22
///
23
-/// This function will return `'VoidFunc'`, unlike [DartType.element.name].
+/// This function will return `'VoidFunc'`, unlike [DartType.element]`.name`.
24
String typeNameOf(DartType type) {
25
final aliasElement = type.alias?.element;
26
if (aliasElement != null) {
0 commit comments