isEnabled property

  1. @override
bool get isEnabled
override

The state of the service (if it reports to Google Analytics or not).

Implementation

@override
bool get isEnabled
=> _isEnabled;
  1. @override
set isEnabled (bool newValue)
override

The state of the service (if it reports to Google Analytics or not).

Implementation

@override
set isEnabled(bool newValue)
{
    _isEnabled = newValue;
    _firebaseAnalytics.setAnalyticsCollectionEnabled(newValue);
}