collectionEnabled property

bool collectionEnabled
getter/setter pair

Whether the data collection is enabled. This is usually disabled when debugging the project, and is only enabled on production

Implementation

static bool collectionEnabled = true;