logPageName method

  1. @override
Future<void> logPageName(
  1. String? pageName,
  2. List<Type> sendTo, {
  3. Map<String, dynamic> properties = const {},
})
override

Implementation

@override
Future<void> logPageName(String? pageName, List<Type> sendTo,
    {Map<String, dynamic> properties = const {}}) async {
  if (pageName == null || pageName.isEmpty) return;
  await Future.forEach(_analyticList, (BaseAnalytics analyticPlatform) async {
    await analyticPlatform.logPageName(pageName, sendTo, properties: properties);
  });
}