injectable
injectable copied to clipboard
Named import is not used
Hello!
I'm using the kt_dart package and the generated code contains a named import
import 'package:kt_dart/kt.dart' as kt_dart;
This would be fine, however, classes from the kt_dart library aren't prefixed with kt_dart
which effectively makes them not imported.
For instance, here's one factory which is missing the kt_dart
prefix for the KtList
generic argument.
gh.factory<project_name.ConfigControllerService<KtList<MeterDto>>>(
() => MetersConfigControllerService(get<Dio>()),
instanceName: 'MetersConfigControllerService');
I've only encountered this issue with the kt_dart package so far.