我在flutter上做我的项目,我陷入了一个愚蠢的问题中。我想从Firebase检索地图列表,但无法将文档转换为对象格式。 因此,每个结帐文档都由用户电子邮件标识。因此,每个文档都将包含一个结帐订单列表,如图所示。This is the Document format in firebase class UserCheckoutOrderList extends Equatable {
final String
在模拟器中一切正常,但它在真实设备中崩溃了,我从列表瓦片中的底层调用了这个类,这是我的错误,如果我在调用firebase集合时使用集合中的变量,this is the error screenshot/cupertino.dart';import 'package:firebase_core/firebase_core.dart'