getSnapshot method Null safety

Future<RecordSnapshot<K, V>?> getSnapshot(
  1. DatabaseClient client
)

Find first record matching the query.

Returns null if none found.

Implementation

Future<RecordSnapshot<K, V>?> getSnapshot(DatabaseClient client);