FunctionDef constructor

FunctionDef({
  1. required String name,
  2. required String api,
  3. String method = 'GET',
  4. dynamic request,
  5. dynamic response,
  6. bool pagination = false,
  7. bool? query,
})

Creates a FunctionDef instance.

Implementation

FunctionDef({
  required this.name,
  required this.api,
  this.method = 'GET',
  this.request,
  this.response,
  this.pagination = false,
  this.query,
});