reportEvent method

  1. @override
Future<void> reportEvent(
  1. String name, {
  2. Map<String, dynamic>? params,
})
override

Reports an event with a specific name and optional parameters.

Implementation

@override
Future<void> reportEvent(String name, {Map<String, dynamic>? params}) {
  final futures =
      providers.map((provider) => provider.reportEvent(name, params: params));

  return Future.wait(futures);
}