Definitions constructor
Definitions({
- dynamic modules,
- dynamic packageName,
- dynamic stub,
- dynamic superModelPath,
- dynamic modelPath,
- dynamic controllerPath,
- dynamic servicePath,
- dynamic httpClientPath,
Implementation
Definitions({
modules,
packageName,
stub,
superModelPath,
modelPath,
controllerPath,
servicePath,
httpClientPath,
}) {
this.packageName = packageName ?? '';
this.stub = stub ?? Stub();
this.superModelPath = superModelPath ?? 'lib/app/data/models/';
this.httpClientPath = httpClientPath ?? 'lib/core/';
this.modelPath = modelPath ?? 'lib/app/data/models/';
this.servicePath = servicePath ?? 'lib/app/data/services/';
this.controllerPath = controllerPath ?? 'lib/app/modules/{{model}}/';
this.modules = modules ?? const [];
}