// Author: fengshengxiong
// Date: 2024/6/26
// Description: firebase_analytics管理

import 'package:firebase_analytics/firebase_analytics.dart';

class FirebaseAnalyticsManager {
  static const homeApv = 'home_a_pv';

  /// 埋点
  /// name：事件名
  /// parameters：业务参数
  static void logEvent(String eventName, {Map<String, Object>? parameters}) {
    FirebaseAnalytics.instance.logEvent(
      name: eventName,
      parameters: parameters,
    );
  }
}
