getAnalytics method

Future<ProxyAnalytics?> getAnalytics()

Gets the current analytics data

Returns null if analytics is not enabled

Implementation

Future<ProxyAnalytics?> getAnalytics() async {
  if (analyticsService == null) {
    return null;
  }

  return analyticsService!.getAnalytics();
}