screen method
void
screen(})
Records a screen view with the given screenName.
screenName is the name of the screen being viewed.
category optionally categorizes the screen.
properties contains additional data about the screen view.
options allows you to specify additional options for this call.
This method is used to track screen navigation and user flow.
Implementation
void screen(String screenName,
{String? category, RudderProperty? properties, RudderOption? options}) {
RudderSdkPlatform.instance.screen(screenName,
category: category, properties: properties, options: options);
}