fetchAllDesignDocs method
Implementation
Future<List<Doc<DesignDoc>>> fetchAllDesignDocs() async {
GetViewResponse<DesignDoc> docs = await allDocs<DesignDoc>(
GetViewRequest(
includeDocs: true, startkey: "_design/", endkey: "_design/\ufff0"),
(json) => DesignDoc.fromJson(json));
return docs.rows.map<Doc<DesignDoc>>((e) => e.doc!).toList();
}