Update request model

This commit is contained in:
Ankit Mahato
2025-06-29 01:21:52 +05:30
parent adf843e8bb
commit 7096c2f301
4 changed files with 34 additions and 40 deletions

View File

@@ -22,10 +22,8 @@ class RequestModel with _$RequestModel {
HttpResponseModel? httpResponseModel,
@JsonKey(includeToJson: false) @Default(false) bool isWorking,
@JsonKey(includeToJson: false) DateTime? sendingTime,
@Default("// Use Javacript to modify this request dynamically")
String preRequestScript,
@Default("// Use Javacript to modify this request dynamically")
String postRequestScript,
String? preRequestScript,
String? postRequestScript,
}) = _RequestModel;
factory RequestModel.fromJson(Map<String, Object?> json) =>