ContextMethod constructor
ContextMethod({
- required String methodName,
- required String methodNamePascalCase,
- List<
NestedContextField> ? params, - List<
NestedContextField> ? body, - List<
NestedContextField> ? query, - required bool hasParams,
- required bool hasBody,
- required bool hasQuery,
- required bool hasUseCase,
- String? responseEntityName,
- String? responseEntityNameLower,
- String? responseEntityCamelCase,
- bool responseIsList = false,
- bool hasResponse = false,
Implementation
ContextMethod({
required this.methodName,
required this.methodNamePascalCase,
this.params,
this.body,
this.query,
required this.hasParams,
required this.hasBody,
required this.hasQuery,
required this.hasUseCase,
this.responseEntityName,
this.responseEntityNameLower,
this.responseEntityCamelCase,
this.responseIsList = false,
this.hasResponse = false,
});