logAppOpen method

  1. @override
Future<void> logAppOpen({
  1. AnalyticsCallOptions? callOptions,
  2. Map<String, Object>? parameters,
})
override

Implementation

@override
Future<void> logAppOpen({
  AnalyticsCallOptions? callOptions,
  Map<String, Object>? parameters,
}) {
  if (!NSFirebase.instance.isInitialized)
    throw CustomException(
      code: 'not_initialized',
      message: 'Please Initialized NSFirebase',
    );
  return _firebaseAnalytics.logAppOpen(
    callOptions: callOptions,
  );
}