getAllStats method

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

Returns all stored statistics frames

Implementation

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

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