screen method

void screen(
  1. String screenName, {
  2. String? category,
  3. RudderProperty? properties,
  4. RudderOption? options,
})

Records screen views and page visits.

Use this to track when users navigate to different screens or pages in your application.

screenName - The name of the screen/page being viewed. category - Optional category to group related screens (e.g., "Authentication", "Checkout"). properties - Optional screen properties providing additional context. options - Optional per-call options (custom context, integrations, etc.).

Implementation

void screen(String screenName,
    {String? category, RudderProperty? properties, RudderOption? options}) {
  throw UnimplementedError(
      'screen(String screenName,{RudderProperty? properties, RudderOption? options}) has not been implemented.');
}