ApiGenerationConfig constructor

const ApiGenerationConfig({
  1. required String apiName,
  2. required String featureName,
  3. required String pageName,
  4. required String method,
  5. required String pathPage,
  6. required String projectName,
  7. required String returnData,
  8. String? appsName,
  9. String? pathUrl,
  10. String? headerPath,
  11. bool json2dart = false,
  12. bool bodyList = false,
  13. bool responseList = false,
  14. CacheStrategy? cacheStrategy,
  15. int? ttl,
  16. bool? keepExpiredCache,
})

Implementation

const ApiGenerationConfig({
  required this.apiName,
  required this.featureName,
  required this.pageName,
  required this.method,
  required this.pathPage,
  required this.projectName,
  required this.returnData,
  this.appsName,
  this.pathUrl,
  this.headerPath,
  this.json2dart = false,
  this.bodyList = false,
  this.responseList = false,
  this.cacheStrategy,
  this.ttl,
  this.keepExpiredCache,
});