typedDocument<D extends TypedDocumentObject<Object>> abstract method

  1. @experimental
FutureOr<D?> typedDocument<D extends TypedDocumentObject<Object>>(
  1. String id
)

Returns the typed document, with type D and the given id, if it exists.

Implementation

@experimental
FutureOr<D?> typedDocument<D extends TypedDocumentObject>(String id);