GeneratorConfig constructor

GeneratorConfig({
  1. String modelsPath = 'lib/models',
  2. String servicesPath = 'lib/services',
  3. String repositoriesPath = 'lib/repositories',
  4. String apiPath = 'lib/api',
  5. bool generateService = false,
  6. bool generateRepository = false,
  7. String httpClient = 'http',
  8. String? baseUrl,
  9. List<ApiEndpoint> endpoints = const [],
})

Implementation

GeneratorConfig({
  this.modelsPath = 'lib/models',
  this.servicesPath = 'lib/services',
  this.repositoriesPath = 'lib/repositories',
  this.apiPath = 'lib/api',
  this.generateService = false,
  this.generateRepository = false,
  this.httpClient = 'http',
  this.baseUrl,
  this.endpoints = const [],
});