getConfiguration method
Gets profiler configuration
Implementation
Map<String, dynamic> getConfiguration() {
return {
'enabled': _enabled,
'maxRecentEvents': _maxRecentEvents,
'maxMetricsPerCategory': _maxMetricsPerCategory,
'activeSessions': _activeSessions.length,
'categories': getCategories().length,
'totalEvents': _recentEvents.length,
};
}