Request constructor
Request({})
Implementation
Request({required Route route, this.parameters, this.headers, this.body}) {
String path = route.path;
if (parameters != null) {
parameters!.forEach((key, value) {
path = path.replaceAll('{$key}', parameters![key]);
});
}
this.path = path;
}