From ffa373bdf943f4200ab687c5d4381b883842c51f Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 15 Jul 2024 11:16:14 -0700 Subject: [PATCH] fix dartdoc (#716) --- source_gen/lib/src/utils.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source_gen/lib/src/utils.dart b/source_gen/lib/src/utils.dart index a1ccb5d5..0f258e60 100644 --- a/source_gen/lib/src/utils.dart +++ b/source_gen/lib/src/utils.dart @@ -20,7 +20,7 @@ import 'package:yaml/yaml.dart'; /// typedef VoidFunc = void Function(); /// ``` /// -/// This function will return `'VoidFunc'`, unlike [DartType.element.name]. +/// This function will return `'VoidFunc'`, unlike [DartType.element]`.name`. String typeNameOf(DartType type) { final aliasElement = type.alias?.element; if (aliasElement != null) {