/Flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_platform_interface-6.2.0/lib/src/method_channel/utils/exception.dart:14:11: Error: Member not found: 'Error.throwWithStackTrace'.\n Error.throwWithStackTrace(exception, stackTrace);\n ^^^^^^^^^^^^^^^^^^^\n/Flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_platform_interface-6.2.0/lib/src/method_channel/utils/exception.dart:17:9: Error: Member not found: 'Error.throwWithStackTrace'.\nError.throwWithStackTrace(\n ^^^^^^^^^^^^^^^^^^^\n/D:/Flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_platform_interface-6.2.0/lib/src/method_channel/utils/exception.dart:12:7: Error: A non-null value must be returned since the return type 'Never' doesn't allow null.\n\nNever convertPlatformException(Object exception, StackTrace stackTrace) {\n ^\nFAILURE: Build failed with an exception.\nRun Code Online (Sandbox Code Playgroud)\n我的 pubsec.yaml 只有:
\n导入 firebase 包后出现此错误。
\nDoctor summary (to see all details, run flutter doctor -v):\n[\xe2\x88\x9a] Flutter (Channel master, 2.6.0-12.0.pre.657, on Microsoft Windows [Version …Run Code Online (Sandbox Code Playgroud) firebase firebase-authentication flutter google-cloud-firestore