diff --git a/mobx_codegen/lib/src/type_names.dart b/mobx_codegen/lib/src/type_names.dart index 7c1cdcb9..4091c4df 100644 --- a/mobx_codegen/lib/src/type_names.dart +++ b/mobx_codegen/lib/src/type_names.dart @@ -88,6 +88,7 @@ class LibraryScopedNameFinder { typeElement == null || // This is a bare type param, like "T" type is TypeParameterType) { + // ignore: deprecated_member_use_from_same_package return type.getDisplayString(withNullability: true); }