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