setCurrentScreen method

void setCurrentScreen({
  1. String? screenName,
  2. AnalyticsCallOptions? callOptions,
})

Implementation

void setCurrentScreen({
  String? screenName,
  AnalyticsCallOptions? callOptions,
}) {
  return analytics_interop.logEvent(
    jsObject,
    'screen_view'.toJS,
    {'firebase_screen': screenName}.jsify(),
    callOptions?.asMap().jsify() as JSObject?,
  );
}