ApiGenerationConfig constructor
const
ApiGenerationConfig({
- required String apiName,
- required String featureName,
- required String pageName,
- required String method,
- required String pathPage,
- required String projectName,
- required String returnData,
- String? appsName,
- String? pathUrl,
- String? headerPath,
- bool json2dart = false,
- bool bodyList = false,
- bool responseList = false,
- CacheStrategy? cacheStrategy,
- int? ttl,
- 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,
});