setCurrentScreen method

Future<void> setCurrentScreen({
  1. String? screenName,
  2. String? screenClassOverride,
  3. AnalyticsCallOptions? callOptions,
})

Sets the current screen name, which specifies the current visual context in your app.

Setting a null screenName clears the current screen name. callOptions are for web platform only.

Implementation

Future<void> setCurrentScreen({
  String? screenName,
  String? screenClassOverride,
  AnalyticsCallOptions? callOptions,
}) {
  throw UnimplementedError('setCurrentScreen() is not implemented');
}