enable method

Future enable(
  1. bool value
)

Enable or disable the sending of analytics data. Note that there are other ways for users to change this setting, so clients cannot assume that they have complete control over this setting. In particular, there is no guarantee that the result returned by the isEnabled request will match the last value set via this request.

Implementation

Future enable(bool value) => _call('analytics.enable', {'value': value});