firstOrNull
Returns the first document found by this query, or returns null.
See also
Throw an exception instead of returning null.
Returns the first document found by this query, or returns null.
Throw an exception instead of returning null.