diff --git a/packages/apidash_core/lib/models/http_request_model.freezed.dart b/packages/apidash_core/lib/models/http_request_model.freezed.dart index d450240f..23c9dbbb 100644 --- a/packages/apidash_core/lib/models/http_request_model.freezed.dart +++ b/packages/apidash_core/lib/models/http_request_model.freezed.dart @@ -30,8 +30,12 @@ mixin _$HttpRequestModel { String? get body => throw _privateConstructorUsedError; List? get formData => throw _privateConstructorUsedError; + /// Serializes this HttpRequestModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of HttpRequestModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $HttpRequestModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -64,6 +68,8 @@ class _$HttpRequestModelCopyWithImpl<$Res, $Val extends HttpRequestModel> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of HttpRequestModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -146,6 +152,8 @@ class __$$HttpRequestModelImplCopyWithImpl<$Res> $Res Function(_$HttpRequestModelImpl) _then) : super(_value, _then); + /// Create a copy of HttpRequestModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -311,7 +319,7 @@ class _$HttpRequestModelImpl extends _HttpRequestModel { const DeepCollectionEquality().equals(other._formData, _formData)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, @@ -325,7 +333,9 @@ class _$HttpRequestModelImpl extends _HttpRequestModel { body, const DeepCollectionEquality().hash(_formData)); - @JsonKey(ignore: true) + /// Create a copy of HttpRequestModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$HttpRequestModelImplCopyWith<_$HttpRequestModelImpl> get copyWith => @@ -374,8 +384,11 @@ abstract class _HttpRequestModel extends HttpRequestModel { String? get body; @override List? get formData; + + /// Create a copy of HttpRequestModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$HttpRequestModelImplCopyWith<_$HttpRequestModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/packages/apidash_core/lib/models/http_response_model.freezed.dart b/packages/apidash_core/lib/models/http_response_model.freezed.dart index d040975f..45071986 100644 --- a/packages/apidash_core/lib/models/http_response_model.freezed.dart +++ b/packages/apidash_core/lib/models/http_response_model.freezed.dart @@ -30,8 +30,12 @@ mixin _$HttpResponseModel { @DurationConverter() Duration? get time => throw _privateConstructorUsedError; + /// Serializes this HttpResponseModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of HttpResponseModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $HttpResponseModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -62,6 +66,8 @@ class _$HttpResponseModelCopyWithImpl<$Res, $Val extends HttpResponseModel> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of HttpResponseModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -132,6 +138,8 @@ class __$$HttpResponseModelImplCopyWithImpl<$Res> $Res Function(_$HttpResponseModelImpl) _then) : super(_value, _then); + /// Create a copy of HttpResponseModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -250,7 +258,7 @@ class _$HttpResponseModelImpl extends _HttpResponseModel { (identical(other.time, time) || other.time == time)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, @@ -262,7 +270,9 @@ class _$HttpResponseModelImpl extends _HttpResponseModel { const DeepCollectionEquality().hash(bodyBytes), time); - @JsonKey(ignore: true) + /// Create a copy of HttpResponseModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$HttpResponseModelImplCopyWith<_$HttpResponseModelImpl> get copyWith => @@ -307,8 +317,11 @@ abstract class _HttpResponseModel extends HttpResponseModel { @override @DurationConverter() Duration? get time; + + /// Create a copy of HttpResponseModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$HttpResponseModelImplCopyWith<_$HttpResponseModelImpl> get copyWith => throw _privateConstructorUsedError; }