config.dart 349 B

12345678910
  1. class Config {
  2. static final ENV_DEV = Config("https://test-shoes-api.funfet.com");
  3. static final ENV_TEST = Config("https://shoes-api.funfet.com");
  4. static final ENV_RELEASE = Config("https://shoes-api.funfet.com", debug: false);
  5. static Config config = ENV_TEST;
  6. String baseUrl;
  7. bool debug;
  8. Config(this.baseUrl, {this.debug = true});
  9. }