Commit Graph

4 Commits

Author SHA1 Message Date
Udhay-Adithya
fadf49372f feat: add support for pre-request scripts
Introduces `preRequestScript` and `postRequestScript` fields to the request model to store user-defined scripts.

Implements a service using `flutter_js` to execute JavaScript pre-request scripts before a request is sent.
The script can access and modify request data (like headers, body, URL) and environment variables.

Adds bridging to forward JavaScript `console.log`, `console.warn`, and `console.error` calls to the Dart console for easier debugging
2025-04-25 23:26:31 +05:30
Ashita Prasad
46df82185d Update APIType in request model 2024-12-10 05:09:39 +05:30
Ashita Prasad
a6791f1165 update freezed models 2024-12-10 05:03:35 +05:30
Ankit Mahato
58ace08ded Refactor models 2024-04-19 19:28:34 +05:30