// import 'firebase/firebase_helper.dart'; // // import 'umeng/umeng_helper.dart'; // class ApmHelper { ApmHelper._internal(); factory ApmHelper() => _getInstance(); static ApmHelper get instance => _getInstance(); static ApmHelper? _instance; // 增加开关 static bool enabled = false; static ApmHelper _getInstance() { _instance ??= ApmHelper._internal(); return _instance!; } Future initSdk() async { // UmengHelper.instance.initSdk(); // // FirebaseHelper.instance.initSdk(); // } Future trackEvent(String eventName, {String? title, String? screenName, String? elementContent, String? operation}) async { // UmengHelper.instance.trackEvent(eventName); // // FirebaseHelper.instance.trackEvent(eventName); // } }