Is there a way to solve null error from getting a document from reference?

Actions & Logic

So, I have a document reference, from it I cannot access its properties, so I used the get document from reference and I works. But sometimes the document reference can be empty, and when it is, I get a null error and I don't know a solution to this.

What have you tried so far?

Getting a document reference from the query part tab, when the document reference is null, it shows a null error (red screen).

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