ApiRequest constructor

ApiRequest({
  1. required String method,
  2. required String path,
  3. Map<String, String> params = const {},
  4. Map<String, String> query = const {},
  5. Map<String, String> headers = const {},
  6. String? body,
})

Implementation

ApiRequest({
  required this.method,
  required this.path,
  this.params = const {},
  this.query = const {},
  this.headers = const {},
  this.body,
});