getStats method
Returns the statistics frame from a date
Implementation
Future<Map<String, dynamic>> getStats(
DateTime startTime, DateTime stopTime) async {
final response = await kuzzle.query(KuzzleRequest(
controller: name,
action: 'getAllStats',
startTime: startTime,
stopTime: stopTime,
));
return response.result as Map<String, dynamic>;
}