title: Canonical way to disable analytics in flutter debug build
body: <p>I have a flutter app using <code>firebase</code> and <code>google analytics</code>. My data about <code>active users</code> is wrong as I am testing a lot in emulators and google analytics thinks that the installs there are real users. As I often reinstall the app for testing it somehow seems to count it as a new user every time.</p>
  <p>As a solution, I'd like to disable google analytics when building the app in debug mode and only activate it when I build it with <code>--release</code>.</p>
  <p>Does anyone know how do achieve this with a flutter app?</p>