Any ideas how I can configure the Dart application to use different settings in debug mode (works in Dartium) and in production mode?
For example, I use PouchDb in my application, which replicates the database to a specific CouchDb instance with the specified URL: db.replicateTo(url);
In debug mode, I would like to use a different instance of CouchDb (different URL) than in production mode.
So, are there any ideas or approaches to use different settings in both modes?
source
share