Error deserialize Document Reference

Database & APIs

I have a user reference named ref in my user data type

Also in firestore.

But when deserializing I have the error TypeError (type 'Map<String, dynamic>' is not a subtype of type 'DocumentReference<Object?>?' in type cast)

Anyone to help me please ?

What have you tried so far?

I have no ideas on what to do as it is generated code and in database the type is reference.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
4 replies