Client constructor

Client(
  1. String baseUrl, {
  2. String? path,
  3. String? recordId,
  4. required String collectionName,
  5. int? page = 1,
  6. int? perPage = 30,
  7. String? sort,
  8. String? filter,
  9. String? expand,
  10. String? fields,
  11. bool? skipTotal = false,
})

Constructor with named parameters and default values

Implementation

Client(
  this.baseUrl, {
  this.path,
  this.recordId,
  required this.collectionName,
  this.page = 1,
  this.perPage = 30,
  this.sort,
  this.filter,
  this.expand,
  this.fields,
  this.skipTotal = false,
});