mirror of
https://github.com/foss42/apidash.git
synced 2025-05-25 02:06:44 +08:00
24 lines
638 B
Dart
24 lines
638 B
Dart
import 'package:apidash_core/apidash_core.dart';
|
|
import 'models.dart';
|
|
|
|
part 'history_request_model.freezed.dart';
|
|
|
|
part 'history_request_model.g.dart';
|
|
|
|
@freezed
|
|
class HistoryRequestModel with _$HistoryRequestModel {
|
|
@JsonSerializable(
|
|
explicitToJson: true,
|
|
anyMap: true,
|
|
)
|
|
const factory HistoryRequestModel({
|
|
required String historyId,
|
|
required HistoryMetaModel metaData,
|
|
required HttpRequestModel httpRequestModel,
|
|
required HttpResponseModel httpResponseModel,
|
|
}) = _HistoryRequestModel;
|
|
|
|
factory HistoryRequestModel.fromJson(Map<String, Object?> json) =>
|
|
_$HistoryRequestModelFromJson(json);
|
|
}
|