// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'payment_url_model.dart'; // ************************************************************************** // FreezedGenerator // ************************************************************************** T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', ); PaymentUrlModel _$PaymentUrlModelFromJson(Map json) { return _PaymentUrlModel.fromJson(json); } /// @nodoc mixin _$PaymentUrlModel { String get paymentUrl => throw _privateConstructorUsedError; /// Serializes this PaymentUrlModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of PaymentUrlModel /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $PaymentUrlModelCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $PaymentUrlModelCopyWith<$Res> { factory $PaymentUrlModelCopyWith( PaymentUrlModel value, $Res Function(PaymentUrlModel) then, ) = _$PaymentUrlModelCopyWithImpl<$Res, PaymentUrlModel>; @useResult $Res call({String paymentUrl}); } /// @nodoc class _$PaymentUrlModelCopyWithImpl<$Res, $Val extends PaymentUrlModel> implements $PaymentUrlModelCopyWith<$Res> { _$PaymentUrlModelCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of PaymentUrlModel /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({Object? paymentUrl = null}) { return _then( _value.copyWith( paymentUrl: null == paymentUrl ? _value.paymentUrl : paymentUrl // ignore: cast_nullable_to_non_nullable as String, ) as $Val, ); } } /// @nodoc abstract class _$$PaymentUrlModelImplCopyWith<$Res> implements $PaymentUrlModelCopyWith<$Res> { factory _$$PaymentUrlModelImplCopyWith( _$PaymentUrlModelImpl value, $Res Function(_$PaymentUrlModelImpl) then, ) = __$$PaymentUrlModelImplCopyWithImpl<$Res>; @override @useResult $Res call({String paymentUrl}); } /// @nodoc class __$$PaymentUrlModelImplCopyWithImpl<$Res> extends _$PaymentUrlModelCopyWithImpl<$Res, _$PaymentUrlModelImpl> implements _$$PaymentUrlModelImplCopyWith<$Res> { __$$PaymentUrlModelImplCopyWithImpl( _$PaymentUrlModelImpl _value, $Res Function(_$PaymentUrlModelImpl) _then, ) : super(_value, _then); /// Create a copy of PaymentUrlModel /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({Object? paymentUrl = null}) { return _then( _$PaymentUrlModelImpl( paymentUrl: null == paymentUrl ? _value.paymentUrl : paymentUrl // ignore: cast_nullable_to_non_nullable as String, ), ); } } /// @nodoc @JsonSerializable() class _$PaymentUrlModelImpl implements _PaymentUrlModel { _$PaymentUrlModelImpl({required this.paymentUrl}); factory _$PaymentUrlModelImpl.fromJson(Map json) => _$$PaymentUrlModelImplFromJson(json); @override final String paymentUrl; @override String toString() { return 'PaymentUrlModel(paymentUrl: $paymentUrl)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PaymentUrlModelImpl && (identical(other.paymentUrl, paymentUrl) || other.paymentUrl == paymentUrl)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, paymentUrl); /// Create a copy of PaymentUrlModel /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$PaymentUrlModelImplCopyWith<_$PaymentUrlModelImpl> get copyWith => __$$PaymentUrlModelImplCopyWithImpl<_$PaymentUrlModelImpl>( this, _$identity, ); @override Map toJson() { return _$$PaymentUrlModelImplToJson(this); } } abstract class _PaymentUrlModel implements PaymentUrlModel { factory _PaymentUrlModel({required final String paymentUrl}) = _$PaymentUrlModelImpl; factory _PaymentUrlModel.fromJson(Map json) = _$PaymentUrlModelImpl.fromJson; @override String get paymentUrl; /// Create a copy of PaymentUrlModel /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$PaymentUrlModelImplCopyWith<_$PaymentUrlModelImpl> get copyWith => throw _privateConstructorUsedError; }