ContextMethod constructor

ContextMethod({
  1. required String methodName,
  2. required String methodNamePascalCase,
  3. List<NestedContextField>? params,
  4. List<NestedContextField>? body,
  5. List<NestedContextField>? query,
  6. required bool hasParams,
  7. required bool hasBody,
  8. required bool hasQuery,
  9. String? responseEntityName,
  10. String? responseEntityNameLower,
  11. String? responseEntityCamelCase,
  12. bool responseIsList = false,
  13. 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,
  this.responseEntityName,
  this.responseEntityNameLower,
  this.responseEntityCamelCase,
  this.responseIsList = false,
  this.hasResponse = false,
});