mirror of
https://github.com/foss42/apidash.git
synced 2025-12-05 12:34:26 +08:00
Update request model
This commit is contained in:
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user