feat: remove AuthModel from HttpRequestModel and integrate into HistoryRequestModel and RequestModel

This commit is contained in:
Udhay-Adithya
2025-06-25 10:12:53 +05:30
parent e06cb2e0bf
commit bf170e1446
16 changed files with 359 additions and 162 deletions

View File

@@ -23,8 +23,7 @@ class RequestModel with _$RequestModel {
HttpResponseModel? httpResponseModel,
@JsonKey(includeToJson: false) @Default(false) bool isWorking,
@JsonKey(includeToJson: false) DateTime? sendingTime,
String? preRequestScript,
String? postRequestScript,
@Default(AuthModel(type: APIAuthType.none)) AuthModel? authModel,
}) = _RequestModel;
factory RequestModel.fromJson(Map<String, Object?> json) =>