getDocument method

Future<Document> getDocument(
  1. dynamic path
)

Implementation

Future<Document> getDocument(path) async {
  var rawDocument = await _client
      .getDocument(GetDocumentRequest()..name = path)
      .catchError(_handleError);
  return Document(this, rawDocument);
}