麻烦老师帮忙看看问题
来源:3-4 基于配置的请求封装与hi_net架构搭建-1

慕九州2209452
2022-10-01
static late HiNet _instance 报错 Unhandled Exception: LateInitializationError: Field ‘_instance@566321969’ has not been initialized.
写回答
2回答
-
CrazyCodeBoy
2022-10-08
嗯,如果后面遇到空安全的问题,可对照下这块课程源码的实现哈。https://git.imooc.com/coding-48710 -
慕九州2209452
提问者
2022-10-01
解决了 加了空安全写法重新编译就不报错了
00
相似问题