// 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 'profile_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'); ProfileModel _$ProfileModelFromJson(Map json) { return _ProfileModel.fromJson(json); } /// @nodoc mixin _$ProfileModel { @JsonKey(name: "id") int get id => throw _privateConstructorUsedError; @JsonKey(name: "name") String get name => throw _privateConstructorUsedError; @JsonKey(name: "email") String get email => throw _privateConstructorUsedError; @JsonKey(name: "rating_place") int? get ratingPlace => throw _privateConstructorUsedError; @JsonKey(name: "email_verified_at") DateTime? get emailVerifiedAt => throw _privateConstructorUsedError; @JsonKey(name: "created_at") DateTime? get createdAt => throw _privateConstructorUsedError; @JsonKey(name: "updated_at") DateTime? get updatedAt => throw _privateConstructorUsedError; @JsonKey(name: "is_public_profile") bool get isPublicProfile => throw _privateConstructorUsedError; @JsonKey(name: 'is_entity_subscribed_by_me') bool get isEntitySubscribedByMe => throw _privateConstructorUsedError; @JsonKey(name: "slug") String get slug => throw _privateConstructorUsedError; @JsonKey(name: "profile_photo_url") String get profilePhotoUrl => throw _privateConstructorUsedError; @JsonKey(name: "role") String get role => throw _privateConstructorUsedError; @JsonKey(name: "badges") List get badges => throw _privateConstructorUsedError; @JsonKey(name: "subscriptions") List get subscriptions => throw _privateConstructorUsedError; @JsonKey(name: "subscribers") List get subscribers => throw _privateConstructorUsedError; @JsonKey(name: "education_resource") EducationModel? get educationResource => throw _privateConstructorUsedError; @JsonKey(name: "cert_photos") List? get diplomasAndCertificates => throw _privateConstructorUsedError; /// Serializes this ProfileModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of ProfileModel /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $ProfileModelCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ProfileModelCopyWith<$Res> { factory $ProfileModelCopyWith( ProfileModel value, $Res Function(ProfileModel) then) = _$ProfileModelCopyWithImpl<$Res, ProfileModel>; @useResult $Res call( {@JsonKey(name: "id") int id, @JsonKey(name: "name") String name, @JsonKey(name: "email") String email, @JsonKey(name: "rating_place") int? ratingPlace, @JsonKey(name: "email_verified_at") DateTime? emailVerifiedAt, @JsonKey(name: "created_at") DateTime? createdAt, @JsonKey(name: "updated_at") DateTime? updatedAt, @JsonKey(name: "is_public_profile") bool isPublicProfile, @JsonKey(name: 'is_entity_subscribed_by_me') bool isEntitySubscribedByMe, @JsonKey(name: "slug") String slug, @JsonKey(name: "profile_photo_url") String profilePhotoUrl, @JsonKey(name: "role") String role, @JsonKey(name: "badges") List badges, @JsonKey(name: "subscriptions") List subscriptions, @JsonKey(name: "subscribers") List subscribers, @JsonKey(name: "education_resource") EducationModel? educationResource, @JsonKey(name: "cert_photos") List? diplomasAndCertificates}); $EducationModelCopyWith<$Res>? get educationResource; } /// @nodoc class _$ProfileModelCopyWithImpl<$Res, $Val extends ProfileModel> implements $ProfileModelCopyWith<$Res> { _$ProfileModelCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of ProfileModel /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? name = null, Object? email = null, Object? ratingPlace = freezed, Object? emailVerifiedAt = freezed, Object? createdAt = freezed, Object? updatedAt = freezed, Object? isPublicProfile = null, Object? isEntitySubscribedByMe = null, Object? slug = null, Object? profilePhotoUrl = null, Object? role = null, Object? badges = null, Object? subscriptions = null, Object? subscribers = null, Object? educationResource = freezed, Object? diplomasAndCertificates = freezed, }) { return _then(_value.copyWith( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as int, name: null == name ? _value.name : name // ignore: cast_nullable_to_non_nullable as String, email: null == email ? _value.email : email // ignore: cast_nullable_to_non_nullable as String, ratingPlace: freezed == ratingPlace ? _value.ratingPlace : ratingPlace // ignore: cast_nullable_to_non_nullable as int?, emailVerifiedAt: freezed == emailVerifiedAt ? _value.emailVerifiedAt : emailVerifiedAt // ignore: cast_nullable_to_non_nullable as DateTime?, createdAt: freezed == createdAt ? _value.createdAt : createdAt // ignore: cast_nullable_to_non_nullable as DateTime?, updatedAt: freezed == updatedAt ? _value.updatedAt : updatedAt // ignore: cast_nullable_to_non_nullable as DateTime?, isPublicProfile: null == isPublicProfile ? _value.isPublicProfile : isPublicProfile // ignore: cast_nullable_to_non_nullable as bool, isEntitySubscribedByMe: null == isEntitySubscribedByMe ? _value.isEntitySubscribedByMe : isEntitySubscribedByMe // ignore: cast_nullable_to_non_nullable as bool, slug: null == slug ? _value.slug : slug // ignore: cast_nullable_to_non_nullable as String, profilePhotoUrl: null == profilePhotoUrl ? _value.profilePhotoUrl : profilePhotoUrl // ignore: cast_nullable_to_non_nullable as String, role: null == role ? _value.role : role // ignore: cast_nullable_to_non_nullable as String, badges: null == badges ? _value.badges : badges // ignore: cast_nullable_to_non_nullable as List, subscriptions: null == subscriptions ? _value.subscriptions : subscriptions // ignore: cast_nullable_to_non_nullable as List, subscribers: null == subscribers ? _value.subscribers : subscribers // ignore: cast_nullable_to_non_nullable as List, educationResource: freezed == educationResource ? _value.educationResource : educationResource // ignore: cast_nullable_to_non_nullable as EducationModel?, diplomasAndCertificates: freezed == diplomasAndCertificates ? _value.diplomasAndCertificates : diplomasAndCertificates // ignore: cast_nullable_to_non_nullable as List?, ) as $Val); } /// Create a copy of ProfileModel /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $EducationModelCopyWith<$Res>? get educationResource { if (_value.educationResource == null) { return null; } return $EducationModelCopyWith<$Res>(_value.educationResource!, (value) { return _then(_value.copyWith(educationResource: value) as $Val); }); } } /// @nodoc abstract class _$$ProfileModelImplCopyWith<$Res> implements $ProfileModelCopyWith<$Res> { factory _$$ProfileModelImplCopyWith( _$ProfileModelImpl value, $Res Function(_$ProfileModelImpl) then) = __$$ProfileModelImplCopyWithImpl<$Res>; @override @useResult $Res call( {@JsonKey(name: "id") int id, @JsonKey(name: "name") String name, @JsonKey(name: "email") String email, @JsonKey(name: "rating_place") int? ratingPlace, @JsonKey(name: "email_verified_at") DateTime? emailVerifiedAt, @JsonKey(name: "created_at") DateTime? createdAt, @JsonKey(name: "updated_at") DateTime? updatedAt, @JsonKey(name: "is_public_profile") bool isPublicProfile, @JsonKey(name: 'is_entity_subscribed_by_me') bool isEntitySubscribedByMe, @JsonKey(name: "slug") String slug, @JsonKey(name: "profile_photo_url") String profilePhotoUrl, @JsonKey(name: "role") String role, @JsonKey(name: "badges") List badges, @JsonKey(name: "subscriptions") List subscriptions, @JsonKey(name: "subscribers") List subscribers, @JsonKey(name: "education_resource") EducationModel? educationResource, @JsonKey(name: "cert_photos") List? diplomasAndCertificates}); @override $EducationModelCopyWith<$Res>? get educationResource; } /// @nodoc class __$$ProfileModelImplCopyWithImpl<$Res> extends _$ProfileModelCopyWithImpl<$Res, _$ProfileModelImpl> implements _$$ProfileModelImplCopyWith<$Res> { __$$ProfileModelImplCopyWithImpl( _$ProfileModelImpl _value, $Res Function(_$ProfileModelImpl) _then) : super(_value, _then); /// Create a copy of ProfileModel /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? name = null, Object? email = null, Object? ratingPlace = freezed, Object? emailVerifiedAt = freezed, Object? createdAt = freezed, Object? updatedAt = freezed, Object? isPublicProfile = null, Object? isEntitySubscribedByMe = null, Object? slug = null, Object? profilePhotoUrl = null, Object? role = null, Object? badges = null, Object? subscriptions = null, Object? subscribers = null, Object? educationResource = freezed, Object? diplomasAndCertificates = freezed, }) { return _then(_$ProfileModelImpl( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as int, name: null == name ? _value.name : name // ignore: cast_nullable_to_non_nullable as String, email: null == email ? _value.email : email // ignore: cast_nullable_to_non_nullable as String, ratingPlace: freezed == ratingPlace ? _value.ratingPlace : ratingPlace // ignore: cast_nullable_to_non_nullable as int?, emailVerifiedAt: freezed == emailVerifiedAt ? _value.emailVerifiedAt : emailVerifiedAt // ignore: cast_nullable_to_non_nullable as DateTime?, createdAt: freezed == createdAt ? _value.createdAt : createdAt // ignore: cast_nullable_to_non_nullable as DateTime?, updatedAt: freezed == updatedAt ? _value.updatedAt : updatedAt // ignore: cast_nullable_to_non_nullable as DateTime?, isPublicProfile: null == isPublicProfile ? _value.isPublicProfile : isPublicProfile // ignore: cast_nullable_to_non_nullable as bool, isEntitySubscribedByMe: null == isEntitySubscribedByMe ? _value.isEntitySubscribedByMe : isEntitySubscribedByMe // ignore: cast_nullable_to_non_nullable as bool, slug: null == slug ? _value.slug : slug // ignore: cast_nullable_to_non_nullable as String, profilePhotoUrl: null == profilePhotoUrl ? _value.profilePhotoUrl : profilePhotoUrl // ignore: cast_nullable_to_non_nullable as String, role: null == role ? _value.role : role // ignore: cast_nullable_to_non_nullable as String, badges: null == badges ? _value._badges : badges // ignore: cast_nullable_to_non_nullable as List, subscriptions: null == subscriptions ? _value._subscriptions : subscriptions // ignore: cast_nullable_to_non_nullable as List, subscribers: null == subscribers ? _value._subscribers : subscribers // ignore: cast_nullable_to_non_nullable as List, educationResource: freezed == educationResource ? _value.educationResource : educationResource // ignore: cast_nullable_to_non_nullable as EducationModel?, diplomasAndCertificates: freezed == diplomasAndCertificates ? _value._diplomasAndCertificates : diplomasAndCertificates // ignore: cast_nullable_to_non_nullable as List?, )); } } /// @nodoc @JsonSerializable() class _$ProfileModelImpl implements _ProfileModel { const _$ProfileModelImpl( {@JsonKey(name: "id") required this.id, @JsonKey(name: "name") required this.name, @JsonKey(name: "email") required this.email, @JsonKey(name: "rating_place") this.ratingPlace, @JsonKey(name: "email_verified_at") this.emailVerifiedAt, @JsonKey(name: "created_at") this.createdAt, @JsonKey(name: "updated_at") this.updatedAt, @JsonKey(name: "is_public_profile") required this.isPublicProfile, @JsonKey(name: 'is_entity_subscribed_by_me') required this.isEntitySubscribedByMe, @JsonKey(name: "slug") required this.slug, @JsonKey(name: "profile_photo_url") required this.profilePhotoUrl, @JsonKey(name: "role") required this.role, @JsonKey(name: "badges") required final List badges, @JsonKey(name: "subscriptions") required final List subscriptions, @JsonKey(name: "subscribers") required final List subscribers, @JsonKey(name: "education_resource") this.educationResource, @JsonKey(name: "cert_photos") final List? diplomasAndCertificates}) : _badges = badges, _subscriptions = subscriptions, _subscribers = subscribers, _diplomasAndCertificates = diplomasAndCertificates; factory _$ProfileModelImpl.fromJson(Map json) => _$$ProfileModelImplFromJson(json); @override @JsonKey(name: "id") final int id; @override @JsonKey(name: "name") final String name; @override @JsonKey(name: "email") final String email; @override @JsonKey(name: "rating_place") final int? ratingPlace; @override @JsonKey(name: "email_verified_at") final DateTime? emailVerifiedAt; @override @JsonKey(name: "created_at") final DateTime? createdAt; @override @JsonKey(name: "updated_at") final DateTime? updatedAt; @override @JsonKey(name: "is_public_profile") final bool isPublicProfile; @override @JsonKey(name: 'is_entity_subscribed_by_me') final bool isEntitySubscribedByMe; @override @JsonKey(name: "slug") final String slug; @override @JsonKey(name: "profile_photo_url") final String profilePhotoUrl; @override @JsonKey(name: "role") final String role; final List _badges; @override @JsonKey(name: "badges") List get badges { if (_badges is EqualUnmodifiableListView) return _badges; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_badges); } final List _subscriptions; @override @JsonKey(name: "subscriptions") List get subscriptions { if (_subscriptions is EqualUnmodifiableListView) return _subscriptions; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_subscriptions); } final List _subscribers; @override @JsonKey(name: "subscribers") List get subscribers { if (_subscribers is EqualUnmodifiableListView) return _subscribers; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_subscribers); } @override @JsonKey(name: "education_resource") final EducationModel? educationResource; final List? _diplomasAndCertificates; @override @JsonKey(name: "cert_photos") List? get diplomasAndCertificates { final value = _diplomasAndCertificates; if (value == null) return null; if (_diplomasAndCertificates is EqualUnmodifiableListView) return _diplomasAndCertificates; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(value); } @override String toString() { return 'ProfileModel(id: $id, name: $name, email: $email, ratingPlace: $ratingPlace, emailVerifiedAt: $emailVerifiedAt, createdAt: $createdAt, updatedAt: $updatedAt, isPublicProfile: $isPublicProfile, isEntitySubscribedByMe: $isEntitySubscribedByMe, slug: $slug, profilePhotoUrl: $profilePhotoUrl, role: $role, badges: $badges, subscriptions: $subscriptions, subscribers: $subscribers, educationResource: $educationResource, diplomasAndCertificates: $diplomasAndCertificates)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ProfileModelImpl && (identical(other.id, id) || other.id == id) && (identical(other.name, name) || other.name == name) && (identical(other.email, email) || other.email == email) && (identical(other.ratingPlace, ratingPlace) || other.ratingPlace == ratingPlace) && (identical(other.emailVerifiedAt, emailVerifiedAt) || other.emailVerifiedAt == emailVerifiedAt) && (identical(other.createdAt, createdAt) || other.createdAt == createdAt) && (identical(other.updatedAt, updatedAt) || other.updatedAt == updatedAt) && (identical(other.isPublicProfile, isPublicProfile) || other.isPublicProfile == isPublicProfile) && (identical(other.isEntitySubscribedByMe, isEntitySubscribedByMe) || other.isEntitySubscribedByMe == isEntitySubscribedByMe) && (identical(other.slug, slug) || other.slug == slug) && (identical(other.profilePhotoUrl, profilePhotoUrl) || other.profilePhotoUrl == profilePhotoUrl) && (identical(other.role, role) || other.role == role) && const DeepCollectionEquality().equals(other._badges, _badges) && const DeepCollectionEquality() .equals(other._subscriptions, _subscriptions) && const DeepCollectionEquality() .equals(other._subscribers, _subscribers) && (identical(other.educationResource, educationResource) || other.educationResource == educationResource) && const DeepCollectionEquality().equals( other._diplomasAndCertificates, _diplomasAndCertificates)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, id, name, email, ratingPlace, emailVerifiedAt, createdAt, updatedAt, isPublicProfile, isEntitySubscribedByMe, slug, profilePhotoUrl, role, const DeepCollectionEquality().hash(_badges), const DeepCollectionEquality().hash(_subscriptions), const DeepCollectionEquality().hash(_subscribers), educationResource, const DeepCollectionEquality().hash(_diplomasAndCertificates)); /// Create a copy of ProfileModel /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ProfileModelImplCopyWith<_$ProfileModelImpl> get copyWith => __$$ProfileModelImplCopyWithImpl<_$ProfileModelImpl>(this, _$identity); @override Map toJson() { return _$$ProfileModelImplToJson( this, ); } } abstract class _ProfileModel implements ProfileModel { const factory _ProfileModel( {@JsonKey(name: "id") required final int id, @JsonKey(name: "name") required final String name, @JsonKey(name: "email") required final String email, @JsonKey(name: "rating_place") final int? ratingPlace, @JsonKey(name: "email_verified_at") final DateTime? emailVerifiedAt, @JsonKey(name: "created_at") final DateTime? createdAt, @JsonKey(name: "updated_at") final DateTime? updatedAt, @JsonKey(name: "is_public_profile") required final bool isPublicProfile, @JsonKey(name: 'is_entity_subscribed_by_me') required final bool isEntitySubscribedByMe, @JsonKey(name: "slug") required final String slug, @JsonKey(name: "profile_photo_url") required final String profilePhotoUrl, @JsonKey(name: "role") required final String role, @JsonKey(name: "badges") required final List badges, @JsonKey(name: "subscriptions") required final List subscriptions, @JsonKey(name: "subscribers") required final List subscribers, @JsonKey(name: "education_resource") final EducationModel? educationResource, @JsonKey(name: "cert_photos") final List? diplomasAndCertificates}) = _$ProfileModelImpl; factory _ProfileModel.fromJson(Map json) = _$ProfileModelImpl.fromJson; @override @JsonKey(name: "id") int get id; @override @JsonKey(name: "name") String get name; @override @JsonKey(name: "email") String get email; @override @JsonKey(name: "rating_place") int? get ratingPlace; @override @JsonKey(name: "email_verified_at") DateTime? get emailVerifiedAt; @override @JsonKey(name: "created_at") DateTime? get createdAt; @override @JsonKey(name: "updated_at") DateTime? get updatedAt; @override @JsonKey(name: "is_public_profile") bool get isPublicProfile; @override @JsonKey(name: 'is_entity_subscribed_by_me') bool get isEntitySubscribedByMe; @override @JsonKey(name: "slug") String get slug; @override @JsonKey(name: "profile_photo_url") String get profilePhotoUrl; @override @JsonKey(name: "role") String get role; @override @JsonKey(name: "badges") List get badges; @override @JsonKey(name: "subscriptions") List get subscriptions; @override @JsonKey(name: "subscribers") List get subscribers; @override @JsonKey(name: "education_resource") EducationModel? get educationResource; @override @JsonKey(name: "cert_photos") List? get diplomasAndCertificates; /// Create a copy of ProfileModel /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$ProfileModelImplCopyWith<_$ProfileModelImpl> get copyWith => throw _privateConstructorUsedError; } DiplomasAndCertificatesModel _$DiplomasAndCertificatesModelFromJson( Map json) { return _DiplomasAndCertificatesModel.fromJson(json); } /// @nodoc mixin _$DiplomasAndCertificatesModel { int get id => throw _privateConstructorUsedError; String get path => throw _privateConstructorUsedError; /// Serializes this DiplomasAndCertificatesModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of DiplomasAndCertificatesModel /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $DiplomasAndCertificatesModelCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $DiplomasAndCertificatesModelCopyWith<$Res> { factory $DiplomasAndCertificatesModelCopyWith( DiplomasAndCertificatesModel value, $Res Function(DiplomasAndCertificatesModel) then) = _$DiplomasAndCertificatesModelCopyWithImpl<$Res, DiplomasAndCertificatesModel>; @useResult $Res call({int id, String path}); } /// @nodoc class _$DiplomasAndCertificatesModelCopyWithImpl<$Res, $Val extends DiplomasAndCertificatesModel> implements $DiplomasAndCertificatesModelCopyWith<$Res> { _$DiplomasAndCertificatesModelCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of DiplomasAndCertificatesModel /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? path = null, }) { return _then(_value.copyWith( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as int, path: null == path ? _value.path : path // ignore: cast_nullable_to_non_nullable as String, ) as $Val); } } /// @nodoc abstract class _$$DiplomasAndCertificatesModelImplCopyWith<$Res> implements $DiplomasAndCertificatesModelCopyWith<$Res> { factory _$$DiplomasAndCertificatesModelImplCopyWith( _$DiplomasAndCertificatesModelImpl value, $Res Function(_$DiplomasAndCertificatesModelImpl) then) = __$$DiplomasAndCertificatesModelImplCopyWithImpl<$Res>; @override @useResult $Res call({int id, String path}); } /// @nodoc class __$$DiplomasAndCertificatesModelImplCopyWithImpl<$Res> extends _$DiplomasAndCertificatesModelCopyWithImpl<$Res, _$DiplomasAndCertificatesModelImpl> implements _$$DiplomasAndCertificatesModelImplCopyWith<$Res> { __$$DiplomasAndCertificatesModelImplCopyWithImpl( _$DiplomasAndCertificatesModelImpl _value, $Res Function(_$DiplomasAndCertificatesModelImpl) _then) : super(_value, _then); /// Create a copy of DiplomasAndCertificatesModel /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? path = null, }) { return _then(_$DiplomasAndCertificatesModelImpl( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as int, path: null == path ? _value.path : path // ignore: cast_nullable_to_non_nullable as String, )); } } /// @nodoc @JsonSerializable() class _$DiplomasAndCertificatesModelImpl implements _DiplomasAndCertificatesModel { const _$DiplomasAndCertificatesModelImpl( {required this.id, required this.path}); factory _$DiplomasAndCertificatesModelImpl.fromJson( Map json) => _$$DiplomasAndCertificatesModelImplFromJson(json); @override final int id; @override final String path; @override String toString() { return 'DiplomasAndCertificatesModel(id: $id, path: $path)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DiplomasAndCertificatesModelImpl && (identical(other.id, id) || other.id == id) && (identical(other.path, path) || other.path == path)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, id, path); /// Create a copy of DiplomasAndCertificatesModel /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$DiplomasAndCertificatesModelImplCopyWith< _$DiplomasAndCertificatesModelImpl> get copyWith => __$$DiplomasAndCertificatesModelImplCopyWithImpl< _$DiplomasAndCertificatesModelImpl>(this, _$identity); @override Map toJson() { return _$$DiplomasAndCertificatesModelImplToJson( this, ); } } abstract class _DiplomasAndCertificatesModel implements DiplomasAndCertificatesModel { const factory _DiplomasAndCertificatesModel( {required final int id, required final String path}) = _$DiplomasAndCertificatesModelImpl; factory _DiplomasAndCertificatesModel.fromJson(Map json) = _$DiplomasAndCertificatesModelImpl.fromJson; @override int get id; @override String get path; /// Create a copy of DiplomasAndCertificatesModel /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$DiplomasAndCertificatesModelImplCopyWith< _$DiplomasAndCertificatesModelImpl> get copyWith => throw _privateConstructorUsedError; } EducationModel _$EducationModelFromJson(Map json) { return _EducationModel.fromJson(json); } /// @nodoc mixin _$EducationModel { @JsonKey(name: "has_medical_education") int? get hasMedicalEducation => throw _privateConstructorUsedError; @JsonKey(name: "completed_cources") List>? get completedCourses => throw _privateConstructorUsedError; @JsonKey(name: "vk_link") String? get vkLink => throw _privateConstructorUsedError; @JsonKey(name: "insta_link") String? get instaLink => throw _privateConstructorUsedError; @JsonKey(name: "fb_link") String? get fbLink => throw _privateConstructorUsedError; @JsonKey(name: "tg_link") String? get tgLink => throw _privateConstructorUsedError; @JsonKey(name: "personal_site_link") String? get personalSiteLink => throw _privateConstructorUsedError; @JsonKey(name: "request_state") String? get requestState => throw _privateConstructorUsedError; /// Serializes this EducationModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of EducationModel /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $EducationModelCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $EducationModelCopyWith<$Res> { factory $EducationModelCopyWith( EducationModel value, $Res Function(EducationModel) then) = _$EducationModelCopyWithImpl<$Res, EducationModel>; @useResult $Res call( {@JsonKey(name: "has_medical_education") int? hasMedicalEducation, @JsonKey(name: "completed_cources") List>? completedCourses, @JsonKey(name: "vk_link") String? vkLink, @JsonKey(name: "insta_link") String? instaLink, @JsonKey(name: "fb_link") String? fbLink, @JsonKey(name: "tg_link") String? tgLink, @JsonKey(name: "personal_site_link") String? personalSiteLink, @JsonKey(name: "request_state") String? requestState}); } /// @nodoc class _$EducationModelCopyWithImpl<$Res, $Val extends EducationModel> implements $EducationModelCopyWith<$Res> { _$EducationModelCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of EducationModel /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? hasMedicalEducation = freezed, Object? completedCourses = freezed, Object? vkLink = freezed, Object? instaLink = freezed, Object? fbLink = freezed, Object? tgLink = freezed, Object? personalSiteLink = freezed, Object? requestState = freezed, }) { return _then(_value.copyWith( hasMedicalEducation: freezed == hasMedicalEducation ? _value.hasMedicalEducation : hasMedicalEducation // ignore: cast_nullable_to_non_nullable as int?, completedCourses: freezed == completedCourses ? _value.completedCourses : completedCourses // ignore: cast_nullable_to_non_nullable as List>?, vkLink: freezed == vkLink ? _value.vkLink : vkLink // ignore: cast_nullable_to_non_nullable as String?, instaLink: freezed == instaLink ? _value.instaLink : instaLink // ignore: cast_nullable_to_non_nullable as String?, fbLink: freezed == fbLink ? _value.fbLink : fbLink // ignore: cast_nullable_to_non_nullable as String?, tgLink: freezed == tgLink ? _value.tgLink : tgLink // ignore: cast_nullable_to_non_nullable as String?, personalSiteLink: freezed == personalSiteLink ? _value.personalSiteLink : personalSiteLink // ignore: cast_nullable_to_non_nullable as String?, requestState: freezed == requestState ? _value.requestState : requestState // ignore: cast_nullable_to_non_nullable as String?, ) as $Val); } } /// @nodoc abstract class _$$EducationModelImplCopyWith<$Res> implements $EducationModelCopyWith<$Res> { factory _$$EducationModelImplCopyWith(_$EducationModelImpl value, $Res Function(_$EducationModelImpl) then) = __$$EducationModelImplCopyWithImpl<$Res>; @override @useResult $Res call( {@JsonKey(name: "has_medical_education") int? hasMedicalEducation, @JsonKey(name: "completed_cources") List>? completedCourses, @JsonKey(name: "vk_link") String? vkLink, @JsonKey(name: "insta_link") String? instaLink, @JsonKey(name: "fb_link") String? fbLink, @JsonKey(name: "tg_link") String? tgLink, @JsonKey(name: "personal_site_link") String? personalSiteLink, @JsonKey(name: "request_state") String? requestState}); } /// @nodoc class __$$EducationModelImplCopyWithImpl<$Res> extends _$EducationModelCopyWithImpl<$Res, _$EducationModelImpl> implements _$$EducationModelImplCopyWith<$Res> { __$$EducationModelImplCopyWithImpl( _$EducationModelImpl _value, $Res Function(_$EducationModelImpl) _then) : super(_value, _then); /// Create a copy of EducationModel /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? hasMedicalEducation = freezed, Object? completedCourses = freezed, Object? vkLink = freezed, Object? instaLink = freezed, Object? fbLink = freezed, Object? tgLink = freezed, Object? personalSiteLink = freezed, Object? requestState = freezed, }) { return _then(_$EducationModelImpl( hasMedicalEducation: freezed == hasMedicalEducation ? _value.hasMedicalEducation : hasMedicalEducation // ignore: cast_nullable_to_non_nullable as int?, completedCourses: freezed == completedCourses ? _value._completedCourses : completedCourses // ignore: cast_nullable_to_non_nullable as List>?, vkLink: freezed == vkLink ? _value.vkLink : vkLink // ignore: cast_nullable_to_non_nullable as String?, instaLink: freezed == instaLink ? _value.instaLink : instaLink // ignore: cast_nullable_to_non_nullable as String?, fbLink: freezed == fbLink ? _value.fbLink : fbLink // ignore: cast_nullable_to_non_nullable as String?, tgLink: freezed == tgLink ? _value.tgLink : tgLink // ignore: cast_nullable_to_non_nullable as String?, personalSiteLink: freezed == personalSiteLink ? _value.personalSiteLink : personalSiteLink // ignore: cast_nullable_to_non_nullable as String?, requestState: freezed == requestState ? _value.requestState : requestState // ignore: cast_nullable_to_non_nullable as String?, )); } } /// @nodoc @JsonSerializable() class _$EducationModelImpl implements _EducationModel { const _$EducationModelImpl( {@JsonKey(name: "has_medical_education") this.hasMedicalEducation, @JsonKey(name: "completed_cources") final List>? completedCourses, @JsonKey(name: "vk_link") this.vkLink, @JsonKey(name: "insta_link") this.instaLink, @JsonKey(name: "fb_link") this.fbLink, @JsonKey(name: "tg_link") this.tgLink, @JsonKey(name: "personal_site_link") this.personalSiteLink, @JsonKey(name: "request_state") this.requestState}) : _completedCourses = completedCourses; factory _$EducationModelImpl.fromJson(Map json) => _$$EducationModelImplFromJson(json); @override @JsonKey(name: "has_medical_education") final int? hasMedicalEducation; final List>? _completedCourses; @override @JsonKey(name: "completed_cources") List>? get completedCourses { final value = _completedCourses; if (value == null) return null; if (_completedCourses is EqualUnmodifiableListView) return _completedCourses; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(value); } @override @JsonKey(name: "vk_link") final String? vkLink; @override @JsonKey(name: "insta_link") final String? instaLink; @override @JsonKey(name: "fb_link") final String? fbLink; @override @JsonKey(name: "tg_link") final String? tgLink; @override @JsonKey(name: "personal_site_link") final String? personalSiteLink; @override @JsonKey(name: "request_state") final String? requestState; @override String toString() { return 'EducationModel(hasMedicalEducation: $hasMedicalEducation, completedCourses: $completedCourses, vkLink: $vkLink, instaLink: $instaLink, fbLink: $fbLink, tgLink: $tgLink, personalSiteLink: $personalSiteLink, requestState: $requestState)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$EducationModelImpl && (identical(other.hasMedicalEducation, hasMedicalEducation) || other.hasMedicalEducation == hasMedicalEducation) && const DeepCollectionEquality() .equals(other._completedCourses, _completedCourses) && (identical(other.vkLink, vkLink) || other.vkLink == vkLink) && (identical(other.instaLink, instaLink) || other.instaLink == instaLink) && (identical(other.fbLink, fbLink) || other.fbLink == fbLink) && (identical(other.tgLink, tgLink) || other.tgLink == tgLink) && (identical(other.personalSiteLink, personalSiteLink) || other.personalSiteLink == personalSiteLink) && (identical(other.requestState, requestState) || other.requestState == requestState)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, hasMedicalEducation, const DeepCollectionEquality().hash(_completedCourses), vkLink, instaLink, fbLink, tgLink, personalSiteLink, requestState); /// Create a copy of EducationModel /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$EducationModelImplCopyWith<_$EducationModelImpl> get copyWith => __$$EducationModelImplCopyWithImpl<_$EducationModelImpl>( this, _$identity); @override Map toJson() { return _$$EducationModelImplToJson( this, ); } } abstract class _EducationModel implements EducationModel { const factory _EducationModel( {@JsonKey(name: "has_medical_education") final int? hasMedicalEducation, @JsonKey(name: "completed_cources") final List>? completedCourses, @JsonKey(name: "vk_link") final String? vkLink, @JsonKey(name: "insta_link") final String? instaLink, @JsonKey(name: "fb_link") final String? fbLink, @JsonKey(name: "tg_link") final String? tgLink, @JsonKey(name: "personal_site_link") final String? personalSiteLink, @JsonKey(name: "request_state") final String? requestState}) = _$EducationModelImpl; factory _EducationModel.fromJson(Map json) = _$EducationModelImpl.fromJson; @override @JsonKey(name: "has_medical_education") int? get hasMedicalEducation; @override @JsonKey(name: "completed_cources") List>? get completedCourses; @override @JsonKey(name: "vk_link") String? get vkLink; @override @JsonKey(name: "insta_link") String? get instaLink; @override @JsonKey(name: "fb_link") String? get fbLink; @override @JsonKey(name: "tg_link") String? get tgLink; @override @JsonKey(name: "personal_site_link") String? get personalSiteLink; @override @JsonKey(name: "request_state") String? get requestState; /// Create a copy of EducationModel /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$EducationModelImplCopyWith<_$EducationModelImpl> get copyWith => throw _privateConstructorUsedError; } CompletedCoursesModel _$CompletedCoursesModelFromJson( Map json) { return _CompletedCoursesModel.fromJson(json); } /// @nodoc mixin _$CompletedCoursesModel { String get date => throw _privateConstructorUsedError; String get title => throw _privateConstructorUsedError; /// Serializes this CompletedCoursesModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of CompletedCoursesModel /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $CompletedCoursesModelCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $CompletedCoursesModelCopyWith<$Res> { factory $CompletedCoursesModelCopyWith(CompletedCoursesModel value, $Res Function(CompletedCoursesModel) then) = _$CompletedCoursesModelCopyWithImpl<$Res, CompletedCoursesModel>; @useResult $Res call({String date, String title}); } /// @nodoc class _$CompletedCoursesModelCopyWithImpl<$Res, $Val extends CompletedCoursesModel> implements $CompletedCoursesModelCopyWith<$Res> { _$CompletedCoursesModelCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of CompletedCoursesModel /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? date = null, Object? title = null, }) { return _then(_value.copyWith( date: null == date ? _value.date : date // ignore: cast_nullable_to_non_nullable as String, title: null == title ? _value.title : title // ignore: cast_nullable_to_non_nullable as String, ) as $Val); } } /// @nodoc abstract class _$$CompletedCoursesModelImplCopyWith<$Res> implements $CompletedCoursesModelCopyWith<$Res> { factory _$$CompletedCoursesModelImplCopyWith( _$CompletedCoursesModelImpl value, $Res Function(_$CompletedCoursesModelImpl) then) = __$$CompletedCoursesModelImplCopyWithImpl<$Res>; @override @useResult $Res call({String date, String title}); } /// @nodoc class __$$CompletedCoursesModelImplCopyWithImpl<$Res> extends _$CompletedCoursesModelCopyWithImpl<$Res, _$CompletedCoursesModelImpl> implements _$$CompletedCoursesModelImplCopyWith<$Res> { __$$CompletedCoursesModelImplCopyWithImpl(_$CompletedCoursesModelImpl _value, $Res Function(_$CompletedCoursesModelImpl) _then) : super(_value, _then); /// Create a copy of CompletedCoursesModel /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? date = null, Object? title = null, }) { return _then(_$CompletedCoursesModelImpl( date: null == date ? _value.date : date // ignore: cast_nullable_to_non_nullable as String, title: null == title ? _value.title : title // ignore: cast_nullable_to_non_nullable as String, )); } } /// @nodoc @JsonSerializable() class _$CompletedCoursesModelImpl implements _CompletedCoursesModel { const _$CompletedCoursesModelImpl({required this.date, required this.title}); factory _$CompletedCoursesModelImpl.fromJson(Map json) => _$$CompletedCoursesModelImplFromJson(json); @override final String date; @override final String title; @override String toString() { return 'CompletedCoursesModel(date: $date, title: $title)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$CompletedCoursesModelImpl && (identical(other.date, date) || other.date == date) && (identical(other.title, title) || other.title == title)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, date, title); /// Create a copy of CompletedCoursesModel /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$CompletedCoursesModelImplCopyWith<_$CompletedCoursesModelImpl> get copyWith => __$$CompletedCoursesModelImplCopyWithImpl< _$CompletedCoursesModelImpl>(this, _$identity); @override Map toJson() { return _$$CompletedCoursesModelImplToJson( this, ); } } abstract class _CompletedCoursesModel implements CompletedCoursesModel { const factory _CompletedCoursesModel( {required final String date, required final String title}) = _$CompletedCoursesModelImpl; factory _CompletedCoursesModel.fromJson(Map json) = _$CompletedCoursesModelImpl.fromJson; @override String get date; @override String get title; /// Create a copy of CompletedCoursesModel /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$CompletedCoursesModelImplCopyWith<_$CompletedCoursesModelImpl> get copyWith => throw _privateConstructorUsedError; } ProfileDetailsModel _$ProfileDetailsModelFromJson(Map json) { return _ProfileDetailsModel.fromJson(json); } /// @nodoc mixin _$ProfileDetailsModel { @JsonKey(name: "first_name") String get firstName => throw _privateConstructorUsedError; @JsonKey(name: "last_name") String get lastName => throw _privateConstructorUsedError; @JsonKey(name: "birthdate") String get birthdate => throw _privateConstructorUsedError; @JsonKey(name: "gender") String get gender => throw _privateConstructorUsedError; @JsonKey(name: "country") String get country => throw _privateConstructorUsedError; @JsonKey(name: "city") String get city => throw _privateConstructorUsedError; @JsonKey(name: "lang") String get lang => throw _privateConstructorUsedError; @JsonKey(name: "weight") double get weight => throw _privateConstructorUsedError; @JsonKey(name: "height") int get height => throw _privateConstructorUsedError; @JsonKey(name: "chest_circumference") int get chestCircumference => throw _privateConstructorUsedError; @JsonKey(name: "waist_circumference") int get waistCircumference => throw _privateConstructorUsedError; @JsonKey(name: "hip_circumference") int get hipCircumference => throw _privateConstructorUsedError; @JsonKey(name: "blood_pressure_up") int get bloodPressureUp => throw _privateConstructorUsedError; @JsonKey(name: "blood_pressure_down") int get bloodPressureDown => throw _privateConstructorUsedError; @JsonKey(name: "has_hypo") bool get hasHypo => throw _privateConstructorUsedError; @JsonKey(name: "has_hyper") bool get hasHyper => throw _privateConstructorUsedError; @JsonKey(name: "about_alergy") String get aboutAlergy => throw _privateConstructorUsedError; @JsonKey(name: "about_taking_pils") String get aboutTakingPils => throw _privateConstructorUsedError; @JsonKey(name: "about_sport_hobbies") String get aboutSportHobbies => throw _privateConstructorUsedError; @JsonKey(name: "favorite_foods") String get favoriteFoods => throw _privateConstructorUsedError; @JsonKey(name: "unfavorite_foods") String get unfavoriteFoods => throw _privateConstructorUsedError; @JsonKey(name: "additional_info") String get additionalInfo => throw _privateConstructorUsedError; @JsonKey(name: "created_at") DateTime? get createdAt => throw _privateConstructorUsedError; @JsonKey(name: "updated_at") DateTime? get updatedAt => throw _privateConstructorUsedError; @JsonKey(name: "is_mood_fillable") bool get isMoodFillable => throw _privateConstructorUsedError; @JsonKey(name: "is_bedtime_fillable") bool get isBedtimeFillable => throw _privateConstructorUsedError; @JsonKey(name: "activity_coefficient") double get activityCoefficient => throw _privateConstructorUsedError; /// Serializes this ProfileDetailsModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of ProfileDetailsModel /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $ProfileDetailsModelCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ProfileDetailsModelCopyWith<$Res> { factory $ProfileDetailsModelCopyWith( ProfileDetailsModel value, $Res Function(ProfileDetailsModel) then) = _$ProfileDetailsModelCopyWithImpl<$Res, ProfileDetailsModel>; @useResult $Res call( {@JsonKey(name: "first_name") String firstName, @JsonKey(name: "last_name") String lastName, @JsonKey(name: "birthdate") String birthdate, @JsonKey(name: "gender") String gender, @JsonKey(name: "country") String country, @JsonKey(name: "city") String city, @JsonKey(name: "lang") String lang, @JsonKey(name: "weight") double weight, @JsonKey(name: "height") int height, @JsonKey(name: "chest_circumference") int chestCircumference, @JsonKey(name: "waist_circumference") int waistCircumference, @JsonKey(name: "hip_circumference") int hipCircumference, @JsonKey(name: "blood_pressure_up") int bloodPressureUp, @JsonKey(name: "blood_pressure_down") int bloodPressureDown, @JsonKey(name: "has_hypo") bool hasHypo, @JsonKey(name: "has_hyper") bool hasHyper, @JsonKey(name: "about_alergy") String aboutAlergy, @JsonKey(name: "about_taking_pils") String aboutTakingPils, @JsonKey(name: "about_sport_hobbies") String aboutSportHobbies, @JsonKey(name: "favorite_foods") String favoriteFoods, @JsonKey(name: "unfavorite_foods") String unfavoriteFoods, @JsonKey(name: "additional_info") String additionalInfo, @JsonKey(name: "created_at") DateTime? createdAt, @JsonKey(name: "updated_at") DateTime? updatedAt, @JsonKey(name: "is_mood_fillable") bool isMoodFillable, @JsonKey(name: "is_bedtime_fillable") bool isBedtimeFillable, @JsonKey(name: "activity_coefficient") double activityCoefficient}); } /// @nodoc class _$ProfileDetailsModelCopyWithImpl<$Res, $Val extends ProfileDetailsModel> implements $ProfileDetailsModelCopyWith<$Res> { _$ProfileDetailsModelCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of ProfileDetailsModel /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? firstName = null, Object? lastName = null, Object? birthdate = null, Object? gender = null, Object? country = null, Object? city = null, Object? lang = null, Object? weight = null, Object? height = null, Object? chestCircumference = null, Object? waistCircumference = null, Object? hipCircumference = null, Object? bloodPressureUp = null, Object? bloodPressureDown = null, Object? hasHypo = null, Object? hasHyper = null, Object? aboutAlergy = null, Object? aboutTakingPils = null, Object? aboutSportHobbies = null, Object? favoriteFoods = null, Object? unfavoriteFoods = null, Object? additionalInfo = null, Object? createdAt = freezed, Object? updatedAt = freezed, Object? isMoodFillable = null, Object? isBedtimeFillable = null, Object? activityCoefficient = null, }) { return _then(_value.copyWith( firstName: null == firstName ? _value.firstName : firstName // ignore: cast_nullable_to_non_nullable as String, lastName: null == lastName ? _value.lastName : lastName // ignore: cast_nullable_to_non_nullable as String, birthdate: null == birthdate ? _value.birthdate : birthdate // ignore: cast_nullable_to_non_nullable as String, gender: null == gender ? _value.gender : gender // ignore: cast_nullable_to_non_nullable as String, country: null == country ? _value.country : country // ignore: cast_nullable_to_non_nullable as String, city: null == city ? _value.city : city // ignore: cast_nullable_to_non_nullable as String, lang: null == lang ? _value.lang : lang // ignore: cast_nullable_to_non_nullable as String, weight: null == weight ? _value.weight : weight // ignore: cast_nullable_to_non_nullable as double, height: null == height ? _value.height : height // ignore: cast_nullable_to_non_nullable as int, chestCircumference: null == chestCircumference ? _value.chestCircumference : chestCircumference // ignore: cast_nullable_to_non_nullable as int, waistCircumference: null == waistCircumference ? _value.waistCircumference : waistCircumference // ignore: cast_nullable_to_non_nullable as int, hipCircumference: null == hipCircumference ? _value.hipCircumference : hipCircumference // ignore: cast_nullable_to_non_nullable as int, bloodPressureUp: null == bloodPressureUp ? _value.bloodPressureUp : bloodPressureUp // ignore: cast_nullable_to_non_nullable as int, bloodPressureDown: null == bloodPressureDown ? _value.bloodPressureDown : bloodPressureDown // ignore: cast_nullable_to_non_nullable as int, hasHypo: null == hasHypo ? _value.hasHypo : hasHypo // ignore: cast_nullable_to_non_nullable as bool, hasHyper: null == hasHyper ? _value.hasHyper : hasHyper // ignore: cast_nullable_to_non_nullable as bool, aboutAlergy: null == aboutAlergy ? _value.aboutAlergy : aboutAlergy // ignore: cast_nullable_to_non_nullable as String, aboutTakingPils: null == aboutTakingPils ? _value.aboutTakingPils : aboutTakingPils // ignore: cast_nullable_to_non_nullable as String, aboutSportHobbies: null == aboutSportHobbies ? _value.aboutSportHobbies : aboutSportHobbies // ignore: cast_nullable_to_non_nullable as String, favoriteFoods: null == favoriteFoods ? _value.favoriteFoods : favoriteFoods // ignore: cast_nullable_to_non_nullable as String, unfavoriteFoods: null == unfavoriteFoods ? _value.unfavoriteFoods : unfavoriteFoods // ignore: cast_nullable_to_non_nullable as String, additionalInfo: null == additionalInfo ? _value.additionalInfo : additionalInfo // ignore: cast_nullable_to_non_nullable as String, createdAt: freezed == createdAt ? _value.createdAt : createdAt // ignore: cast_nullable_to_non_nullable as DateTime?, updatedAt: freezed == updatedAt ? _value.updatedAt : updatedAt // ignore: cast_nullable_to_non_nullable as DateTime?, isMoodFillable: null == isMoodFillable ? _value.isMoodFillable : isMoodFillable // ignore: cast_nullable_to_non_nullable as bool, isBedtimeFillable: null == isBedtimeFillable ? _value.isBedtimeFillable : isBedtimeFillable // ignore: cast_nullable_to_non_nullable as bool, activityCoefficient: null == activityCoefficient ? _value.activityCoefficient : activityCoefficient // ignore: cast_nullable_to_non_nullable as double, ) as $Val); } } /// @nodoc abstract class _$$ProfileDetailsModelImplCopyWith<$Res> implements $ProfileDetailsModelCopyWith<$Res> { factory _$$ProfileDetailsModelImplCopyWith(_$ProfileDetailsModelImpl value, $Res Function(_$ProfileDetailsModelImpl) then) = __$$ProfileDetailsModelImplCopyWithImpl<$Res>; @override @useResult $Res call( {@JsonKey(name: "first_name") String firstName, @JsonKey(name: "last_name") String lastName, @JsonKey(name: "birthdate") String birthdate, @JsonKey(name: "gender") String gender, @JsonKey(name: "country") String country, @JsonKey(name: "city") String city, @JsonKey(name: "lang") String lang, @JsonKey(name: "weight") double weight, @JsonKey(name: "height") int height, @JsonKey(name: "chest_circumference") int chestCircumference, @JsonKey(name: "waist_circumference") int waistCircumference, @JsonKey(name: "hip_circumference") int hipCircumference, @JsonKey(name: "blood_pressure_up") int bloodPressureUp, @JsonKey(name: "blood_pressure_down") int bloodPressureDown, @JsonKey(name: "has_hypo") bool hasHypo, @JsonKey(name: "has_hyper") bool hasHyper, @JsonKey(name: "about_alergy") String aboutAlergy, @JsonKey(name: "about_taking_pils") String aboutTakingPils, @JsonKey(name: "about_sport_hobbies") String aboutSportHobbies, @JsonKey(name: "favorite_foods") String favoriteFoods, @JsonKey(name: "unfavorite_foods") String unfavoriteFoods, @JsonKey(name: "additional_info") String additionalInfo, @JsonKey(name: "created_at") DateTime? createdAt, @JsonKey(name: "updated_at") DateTime? updatedAt, @JsonKey(name: "is_mood_fillable") bool isMoodFillable, @JsonKey(name: "is_bedtime_fillable") bool isBedtimeFillable, @JsonKey(name: "activity_coefficient") double activityCoefficient}); } /// @nodoc class __$$ProfileDetailsModelImplCopyWithImpl<$Res> extends _$ProfileDetailsModelCopyWithImpl<$Res, _$ProfileDetailsModelImpl> implements _$$ProfileDetailsModelImplCopyWith<$Res> { __$$ProfileDetailsModelImplCopyWithImpl(_$ProfileDetailsModelImpl _value, $Res Function(_$ProfileDetailsModelImpl) _then) : super(_value, _then); /// Create a copy of ProfileDetailsModel /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? firstName = null, Object? lastName = null, Object? birthdate = null, Object? gender = null, Object? country = null, Object? city = null, Object? lang = null, Object? weight = null, Object? height = null, Object? chestCircumference = null, Object? waistCircumference = null, Object? hipCircumference = null, Object? bloodPressureUp = null, Object? bloodPressureDown = null, Object? hasHypo = null, Object? hasHyper = null, Object? aboutAlergy = null, Object? aboutTakingPils = null, Object? aboutSportHobbies = null, Object? favoriteFoods = null, Object? unfavoriteFoods = null, Object? additionalInfo = null, Object? createdAt = freezed, Object? updatedAt = freezed, Object? isMoodFillable = null, Object? isBedtimeFillable = null, Object? activityCoefficient = null, }) { return _then(_$ProfileDetailsModelImpl( firstName: null == firstName ? _value.firstName : firstName // ignore: cast_nullable_to_non_nullable as String, lastName: null == lastName ? _value.lastName : lastName // ignore: cast_nullable_to_non_nullable as String, birthdate: null == birthdate ? _value.birthdate : birthdate // ignore: cast_nullable_to_non_nullable as String, gender: null == gender ? _value.gender : gender // ignore: cast_nullable_to_non_nullable as String, country: null == country ? _value.country : country // ignore: cast_nullable_to_non_nullable as String, city: null == city ? _value.city : city // ignore: cast_nullable_to_non_nullable as String, lang: null == lang ? _value.lang : lang // ignore: cast_nullable_to_non_nullable as String, weight: null == weight ? _value.weight : weight // ignore: cast_nullable_to_non_nullable as double, height: null == height ? _value.height : height // ignore: cast_nullable_to_non_nullable as int, chestCircumference: null == chestCircumference ? _value.chestCircumference : chestCircumference // ignore: cast_nullable_to_non_nullable as int, waistCircumference: null == waistCircumference ? _value.waistCircumference : waistCircumference // ignore: cast_nullable_to_non_nullable as int, hipCircumference: null == hipCircumference ? _value.hipCircumference : hipCircumference // ignore: cast_nullable_to_non_nullable as int, bloodPressureUp: null == bloodPressureUp ? _value.bloodPressureUp : bloodPressureUp // ignore: cast_nullable_to_non_nullable as int, bloodPressureDown: null == bloodPressureDown ? _value.bloodPressureDown : bloodPressureDown // ignore: cast_nullable_to_non_nullable as int, hasHypo: null == hasHypo ? _value.hasHypo : hasHypo // ignore: cast_nullable_to_non_nullable as bool, hasHyper: null == hasHyper ? _value.hasHyper : hasHyper // ignore: cast_nullable_to_non_nullable as bool, aboutAlergy: null == aboutAlergy ? _value.aboutAlergy : aboutAlergy // ignore: cast_nullable_to_non_nullable as String, aboutTakingPils: null == aboutTakingPils ? _value.aboutTakingPils : aboutTakingPils // ignore: cast_nullable_to_non_nullable as String, aboutSportHobbies: null == aboutSportHobbies ? _value.aboutSportHobbies : aboutSportHobbies // ignore: cast_nullable_to_non_nullable as String, favoriteFoods: null == favoriteFoods ? _value.favoriteFoods : favoriteFoods // ignore: cast_nullable_to_non_nullable as String, unfavoriteFoods: null == unfavoriteFoods ? _value.unfavoriteFoods : unfavoriteFoods // ignore: cast_nullable_to_non_nullable as String, additionalInfo: null == additionalInfo ? _value.additionalInfo : additionalInfo // ignore: cast_nullable_to_non_nullable as String, createdAt: freezed == createdAt ? _value.createdAt : createdAt // ignore: cast_nullable_to_non_nullable as DateTime?, updatedAt: freezed == updatedAt ? _value.updatedAt : updatedAt // ignore: cast_nullable_to_non_nullable as DateTime?, isMoodFillable: null == isMoodFillable ? _value.isMoodFillable : isMoodFillable // ignore: cast_nullable_to_non_nullable as bool, isBedtimeFillable: null == isBedtimeFillable ? _value.isBedtimeFillable : isBedtimeFillable // ignore: cast_nullable_to_non_nullable as bool, activityCoefficient: null == activityCoefficient ? _value.activityCoefficient : activityCoefficient // ignore: cast_nullable_to_non_nullable as double, )); } } /// @nodoc @JsonSerializable() class _$ProfileDetailsModelImpl implements _ProfileDetailsModel { const _$ProfileDetailsModelImpl( {@JsonKey(name: "first_name") required this.firstName, @JsonKey(name: "last_name") required this.lastName, @JsonKey(name: "birthdate") required this.birthdate, @JsonKey(name: "gender") required this.gender, @JsonKey(name: "country") required this.country, @JsonKey(name: "city") required this.city, @JsonKey(name: "lang") required this.lang, @JsonKey(name: "weight") required this.weight, @JsonKey(name: "height") required this.height, @JsonKey(name: "chest_circumference") required this.chestCircumference, @JsonKey(name: "waist_circumference") required this.waistCircumference, @JsonKey(name: "hip_circumference") required this.hipCircumference, @JsonKey(name: "blood_pressure_up") required this.bloodPressureUp, @JsonKey(name: "blood_pressure_down") required this.bloodPressureDown, @JsonKey(name: "has_hypo") required this.hasHypo, @JsonKey(name: "has_hyper") required this.hasHyper, @JsonKey(name: "about_alergy") required this.aboutAlergy, @JsonKey(name: "about_taking_pils") required this.aboutTakingPils, @JsonKey(name: "about_sport_hobbies") required this.aboutSportHobbies, @JsonKey(name: "favorite_foods") required this.favoriteFoods, @JsonKey(name: "unfavorite_foods") required this.unfavoriteFoods, @JsonKey(name: "additional_info") required this.additionalInfo, @JsonKey(name: "created_at") this.createdAt, @JsonKey(name: "updated_at") this.updatedAt, @JsonKey(name: "is_mood_fillable") required this.isMoodFillable, @JsonKey(name: "is_bedtime_fillable") required this.isBedtimeFillable, @JsonKey(name: "activity_coefficient") required this.activityCoefficient}); factory _$ProfileDetailsModelImpl.fromJson(Map json) => _$$ProfileDetailsModelImplFromJson(json); @override @JsonKey(name: "first_name") final String firstName; @override @JsonKey(name: "last_name") final String lastName; @override @JsonKey(name: "birthdate") final String birthdate; @override @JsonKey(name: "gender") final String gender; @override @JsonKey(name: "country") final String country; @override @JsonKey(name: "city") final String city; @override @JsonKey(name: "lang") final String lang; @override @JsonKey(name: "weight") final double weight; @override @JsonKey(name: "height") final int height; @override @JsonKey(name: "chest_circumference") final int chestCircumference; @override @JsonKey(name: "waist_circumference") final int waistCircumference; @override @JsonKey(name: "hip_circumference") final int hipCircumference; @override @JsonKey(name: "blood_pressure_up") final int bloodPressureUp; @override @JsonKey(name: "blood_pressure_down") final int bloodPressureDown; @override @JsonKey(name: "has_hypo") final bool hasHypo; @override @JsonKey(name: "has_hyper") final bool hasHyper; @override @JsonKey(name: "about_alergy") final String aboutAlergy; @override @JsonKey(name: "about_taking_pils") final String aboutTakingPils; @override @JsonKey(name: "about_sport_hobbies") final String aboutSportHobbies; @override @JsonKey(name: "favorite_foods") final String favoriteFoods; @override @JsonKey(name: "unfavorite_foods") final String unfavoriteFoods; @override @JsonKey(name: "additional_info") final String additionalInfo; @override @JsonKey(name: "created_at") final DateTime? createdAt; @override @JsonKey(name: "updated_at") final DateTime? updatedAt; @override @JsonKey(name: "is_mood_fillable") final bool isMoodFillable; @override @JsonKey(name: "is_bedtime_fillable") final bool isBedtimeFillable; @override @JsonKey(name: "activity_coefficient") final double activityCoefficient; @override String toString() { return 'ProfileDetailsModel(firstName: $firstName, lastName: $lastName, birthdate: $birthdate, gender: $gender, country: $country, city: $city, lang: $lang, weight: $weight, height: $height, chestCircumference: $chestCircumference, waistCircumference: $waistCircumference, hipCircumference: $hipCircumference, bloodPressureUp: $bloodPressureUp, bloodPressureDown: $bloodPressureDown, hasHypo: $hasHypo, hasHyper: $hasHyper, aboutAlergy: $aboutAlergy, aboutTakingPils: $aboutTakingPils, aboutSportHobbies: $aboutSportHobbies, favoriteFoods: $favoriteFoods, unfavoriteFoods: $unfavoriteFoods, additionalInfo: $additionalInfo, createdAt: $createdAt, updatedAt: $updatedAt, isMoodFillable: $isMoodFillable, isBedtimeFillable: $isBedtimeFillable, activityCoefficient: $activityCoefficient)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ProfileDetailsModelImpl && (identical(other.firstName, firstName) || other.firstName == firstName) && (identical(other.lastName, lastName) || other.lastName == lastName) && (identical(other.birthdate, birthdate) || other.birthdate == birthdate) && (identical(other.gender, gender) || other.gender == gender) && (identical(other.country, country) || other.country == country) && (identical(other.city, city) || other.city == city) && (identical(other.lang, lang) || other.lang == lang) && (identical(other.weight, weight) || other.weight == weight) && (identical(other.height, height) || other.height == height) && (identical(other.chestCircumference, chestCircumference) || other.chestCircumference == chestCircumference) && (identical(other.waistCircumference, waistCircumference) || other.waistCircumference == waistCircumference) && (identical(other.hipCircumference, hipCircumference) || other.hipCircumference == hipCircumference) && (identical(other.bloodPressureUp, bloodPressureUp) || other.bloodPressureUp == bloodPressureUp) && (identical(other.bloodPressureDown, bloodPressureDown) || other.bloodPressureDown == bloodPressureDown) && (identical(other.hasHypo, hasHypo) || other.hasHypo == hasHypo) && (identical(other.hasHyper, hasHyper) || other.hasHyper == hasHyper) && (identical(other.aboutAlergy, aboutAlergy) || other.aboutAlergy == aboutAlergy) && (identical(other.aboutTakingPils, aboutTakingPils) || other.aboutTakingPils == aboutTakingPils) && (identical(other.aboutSportHobbies, aboutSportHobbies) || other.aboutSportHobbies == aboutSportHobbies) && (identical(other.favoriteFoods, favoriteFoods) || other.favoriteFoods == favoriteFoods) && (identical(other.unfavoriteFoods, unfavoriteFoods) || other.unfavoriteFoods == unfavoriteFoods) && (identical(other.additionalInfo, additionalInfo) || other.additionalInfo == additionalInfo) && (identical(other.createdAt, createdAt) || other.createdAt == createdAt) && (identical(other.updatedAt, updatedAt) || other.updatedAt == updatedAt) && (identical(other.isMoodFillable, isMoodFillable) || other.isMoodFillable == isMoodFillable) && (identical(other.isBedtimeFillable, isBedtimeFillable) || other.isBedtimeFillable == isBedtimeFillable) && (identical(other.activityCoefficient, activityCoefficient) || other.activityCoefficient == activityCoefficient)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hashAll([ runtimeType, firstName, lastName, birthdate, gender, country, city, lang, weight, height, chestCircumference, waistCircumference, hipCircumference, bloodPressureUp, bloodPressureDown, hasHypo, hasHyper, aboutAlergy, aboutTakingPils, aboutSportHobbies, favoriteFoods, unfavoriteFoods, additionalInfo, createdAt, updatedAt, isMoodFillable, isBedtimeFillable, activityCoefficient ]); /// Create a copy of ProfileDetailsModel /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ProfileDetailsModelImplCopyWith<_$ProfileDetailsModelImpl> get copyWith => __$$ProfileDetailsModelImplCopyWithImpl<_$ProfileDetailsModelImpl>( this, _$identity); @override Map toJson() { return _$$ProfileDetailsModelImplToJson( this, ); } } abstract class _ProfileDetailsModel implements ProfileDetailsModel { const factory _ProfileDetailsModel( {@JsonKey(name: "first_name") required final String firstName, @JsonKey(name: "last_name") required final String lastName, @JsonKey(name: "birthdate") required final String birthdate, @JsonKey(name: "gender") required final String gender, @JsonKey(name: "country") required final String country, @JsonKey(name: "city") required final String city, @JsonKey(name: "lang") required final String lang, @JsonKey(name: "weight") required final double weight, @JsonKey(name: "height") required final int height, @JsonKey(name: "chest_circumference") required final int chestCircumference, @JsonKey(name: "waist_circumference") required final int waistCircumference, @JsonKey(name: "hip_circumference") required final int hipCircumference, @JsonKey(name: "blood_pressure_up") required final int bloodPressureUp, @JsonKey(name: "blood_pressure_down") required final int bloodPressureDown, @JsonKey(name: "has_hypo") required final bool hasHypo, @JsonKey(name: "has_hyper") required final bool hasHyper, @JsonKey(name: "about_alergy") required final String aboutAlergy, @JsonKey(name: "about_taking_pils") required final String aboutTakingPils, @JsonKey(name: "about_sport_hobbies") required final String aboutSportHobbies, @JsonKey(name: "favorite_foods") required final String favoriteFoods, @JsonKey(name: "unfavorite_foods") required final String unfavoriteFoods, @JsonKey(name: "additional_info") required final String additionalInfo, @JsonKey(name: "created_at") final DateTime? createdAt, @JsonKey(name: "updated_at") final DateTime? updatedAt, @JsonKey(name: "is_mood_fillable") required final bool isMoodFillable, @JsonKey(name: "is_bedtime_fillable") required final bool isBedtimeFillable, @JsonKey(name: "activity_coefficient") required final double activityCoefficient}) = _$ProfileDetailsModelImpl; factory _ProfileDetailsModel.fromJson(Map json) = _$ProfileDetailsModelImpl.fromJson; @override @JsonKey(name: "first_name") String get firstName; @override @JsonKey(name: "last_name") String get lastName; @override @JsonKey(name: "birthdate") String get birthdate; @override @JsonKey(name: "gender") String get gender; @override @JsonKey(name: "country") String get country; @override @JsonKey(name: "city") String get city; @override @JsonKey(name: "lang") String get lang; @override @JsonKey(name: "weight") double get weight; @override @JsonKey(name: "height") int get height; @override @JsonKey(name: "chest_circumference") int get chestCircumference; @override @JsonKey(name: "waist_circumference") int get waistCircumference; @override @JsonKey(name: "hip_circumference") int get hipCircumference; @override @JsonKey(name: "blood_pressure_up") int get bloodPressureUp; @override @JsonKey(name: "blood_pressure_down") int get bloodPressureDown; @override @JsonKey(name: "has_hypo") bool get hasHypo; @override @JsonKey(name: "has_hyper") bool get hasHyper; @override @JsonKey(name: "about_alergy") String get aboutAlergy; @override @JsonKey(name: "about_taking_pils") String get aboutTakingPils; @override @JsonKey(name: "about_sport_hobbies") String get aboutSportHobbies; @override @JsonKey(name: "favorite_foods") String get favoriteFoods; @override @JsonKey(name: "unfavorite_foods") String get unfavoriteFoods; @override @JsonKey(name: "additional_info") String get additionalInfo; @override @JsonKey(name: "created_at") DateTime? get createdAt; @override @JsonKey(name: "updated_at") DateTime? get updatedAt; @override @JsonKey(name: "is_mood_fillable") bool get isMoodFillable; @override @JsonKey(name: "is_bedtime_fillable") bool get isBedtimeFillable; @override @JsonKey(name: "activity_coefficient") double get activityCoefficient; /// Create a copy of ProfileDetailsModel /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$ProfileDetailsModelImplCopyWith<_$ProfileDetailsModelImpl> get copyWith => throw _privateConstructorUsedError; } ProfilePreviewModel _$ProfilePreviewModelFromJson(Map json) { return _ProfilePreviewModel.fromJson(json); } /// @nodoc mixin _$ProfilePreviewModel { @JsonKey(name: "profile_photo_url") String get profilePhotoUrl => throw _privateConstructorUsedError; /// Serializes this ProfilePreviewModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of ProfilePreviewModel /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $ProfilePreviewModelCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ProfilePreviewModelCopyWith<$Res> { factory $ProfilePreviewModelCopyWith( ProfilePreviewModel value, $Res Function(ProfilePreviewModel) then) = _$ProfilePreviewModelCopyWithImpl<$Res, ProfilePreviewModel>; @useResult $Res call({@JsonKey(name: "profile_photo_url") String profilePhotoUrl}); } /// @nodoc class _$ProfilePreviewModelCopyWithImpl<$Res, $Val extends ProfilePreviewModel> implements $ProfilePreviewModelCopyWith<$Res> { _$ProfilePreviewModelCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of ProfilePreviewModel /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? profilePhotoUrl = null, }) { return _then(_value.copyWith( profilePhotoUrl: null == profilePhotoUrl ? _value.profilePhotoUrl : profilePhotoUrl // ignore: cast_nullable_to_non_nullable as String, ) as $Val); } } /// @nodoc abstract class _$$ProfilePreviewModelImplCopyWith<$Res> implements $ProfilePreviewModelCopyWith<$Res> { factory _$$ProfilePreviewModelImplCopyWith(_$ProfilePreviewModelImpl value, $Res Function(_$ProfilePreviewModelImpl) then) = __$$ProfilePreviewModelImplCopyWithImpl<$Res>; @override @useResult $Res call({@JsonKey(name: "profile_photo_url") String profilePhotoUrl}); } /// @nodoc class __$$ProfilePreviewModelImplCopyWithImpl<$Res> extends _$ProfilePreviewModelCopyWithImpl<$Res, _$ProfilePreviewModelImpl> implements _$$ProfilePreviewModelImplCopyWith<$Res> { __$$ProfilePreviewModelImplCopyWithImpl(_$ProfilePreviewModelImpl _value, $Res Function(_$ProfilePreviewModelImpl) _then) : super(_value, _then); /// Create a copy of ProfilePreviewModel /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? profilePhotoUrl = null, }) { return _then(_$ProfilePreviewModelImpl( profilePhotoUrl: null == profilePhotoUrl ? _value.profilePhotoUrl : profilePhotoUrl // ignore: cast_nullable_to_non_nullable as String, )); } } /// @nodoc @JsonSerializable() class _$ProfilePreviewModelImpl implements _ProfilePreviewModel { const _$ProfilePreviewModelImpl( {@JsonKey(name: "profile_photo_url") required this.profilePhotoUrl}); factory _$ProfilePreviewModelImpl.fromJson(Map json) => _$$ProfilePreviewModelImplFromJson(json); @override @JsonKey(name: "profile_photo_url") final String profilePhotoUrl; @override String toString() { return 'ProfilePreviewModel(profilePhotoUrl: $profilePhotoUrl)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ProfilePreviewModelImpl && (identical(other.profilePhotoUrl, profilePhotoUrl) || other.profilePhotoUrl == profilePhotoUrl)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, profilePhotoUrl); /// Create a copy of ProfilePreviewModel /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ProfilePreviewModelImplCopyWith<_$ProfilePreviewModelImpl> get copyWith => __$$ProfilePreviewModelImplCopyWithImpl<_$ProfilePreviewModelImpl>( this, _$identity); @override Map toJson() { return _$$ProfilePreviewModelImplToJson( this, ); } } abstract class _ProfilePreviewModel implements ProfilePreviewModel { const factory _ProfilePreviewModel( {@JsonKey(name: "profile_photo_url") required final String profilePhotoUrl}) = _$ProfilePreviewModelImpl; factory _ProfilePreviewModel.fromJson(Map json) = _$ProfilePreviewModelImpl.fromJson; @override @JsonKey(name: "profile_photo_url") String get profilePhotoUrl; /// Create a copy of ProfilePreviewModel /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$ProfilePreviewModelImplCopyWith<_$ProfilePreviewModelImpl> get copyWith => throw _privateConstructorUsedError; }