instance property

Future<GoogleAnalytics> get instance

Implementation

static Future<GoogleAnalytics> get instance async {
  if (_instance == null) {
    await _api.getInstance();
    _instance = GoogleAnalytics();
  }
  return _instance!;
}