one<T> abstract method

Future<T?> one<T>(
  1. String documentID, {
  2. String? subcollection,
})

Reads a document from the database and converts it to the specified type.

Implementation

Future<T?> one<T>(String documentID, { String? subcollection });