enabled property

  1. @override
bool get enabled
inherited

Will analytics data be sent.

Implementation

@override
bool get enabled {
  var optIn = analyticsOpt == AnalyticsOpt.optIn;
  return optIn
      ? properties['enabled'] == true
      : properties['enabled'] != false;
}
  1. @override
set enabled (bool value)
inherited

Enable or disable sending of analytics data.

Implementation

@override
set enabled(bool value) {
  properties['enabled'] = value;
}