getKnowledgeBases method

Future<List<KnowledgeBaseMeta>> getKnowledgeBases ()

Sends the knowledgeBases request to the server and returns the list of available knowledge bases metadata.

Implementation

Future<List<KnowledgeBaseMeta>> getKnowledgeBases() async =>
    (await getKnowledgeBasesByRequest(GetKnowledgeBasesRequest()))
        .knowledgeBases;