dryRun
The dryRun() method sets a dry-run flag and lets you test and debug tracking. The dry-run flag prevents data from being sent to Piwik PRO and instead prints it to the console.
Syntax
await FlutterPiwikPro.sharedInstance.dryRun(shouldDryRun);Parameters
shouldDryRun (boolean, required)
Indicates whether dry-run mode is enabled.
true: Dry-run mode is enabled.false: Dry-run mode is disabled.
Examples
To set the dry-run flag:
await FlutterPiwikPro.sharedInstance.dryRun(true);Updated 21 days ago