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 ?
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 ?
I have no ideas on what to do as it is generated code and in database the type is reference.