getConfig method

Future<Map<String, dynamic>> getConfig()

Returns the Kuzzle configuration

Implementation

Future<Map<String, dynamic>> getConfig() async {
  final response = await kuzzle
      .query(KuzzleRequest(controller: name, action: 'getConfig'));

  return response.result as Map<String, dynamic>;
}