logLevelStart method

Future<void> logLevelStart({
  1. required String levelName,
  2. Map<String, Object?>? parameters,
  3. AnalyticsCallOptions? callOptions,
})

Implementation

Future<void> logLevelStart({
  required String levelName,
  Map<String, Object?>? parameters,
  AnalyticsCallOptions? callOptions,
}) {
  _assertParameterTypesAreCorrect(parameters);

  return _delegate.logEvent(
    name: 'level_start',
    parameters: filterOutNulls(<String, Object?>{
      _LEVEL_NAME: levelName,
      if (parameters != null) ...parameters,
    }),
    callOptions: callOptions,
  );
}