我正在尝试使用阻塞模式和存储库对用户进行身份验证。我还使用GetIt注入了一些依赖项,如下所示: getItInstance.registerLazySingleton从DI类中,可以很容易地看到依赖项和依赖项,为了简洁起见,我省略了它们。现在,在我的auth bloc中,我试图将UserRepository and UserRepositoryImpl
它将所有服务注入为用于进行API调用的函数。import * as placesServices from '.().metadata.resetError,正如您在上面可用的代码片段中可能看到的那样,我试图使用通过存储提供的 redux操作从单个点处理错误和加载状态。具体来说,import store from '@store/index
特别是当我尝试使用SDK方法时,颤振导入未能解决与无法找到颤振模块导入相关的错误:error: no such module 'FlutterPluginRegistrant'import FlutterPluginRegistrantimport Flutter
更新:--这些是我最初看到的错误日志,但通过使用Cocoa