// 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.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'); /// @nodoc mixin _$Profile { String get id => throw _privateConstructorUsedError; String get userId => throw _privateConstructorUsedError; String? get bio => throw _privateConstructorUsedError; String? get avatarUrl => throw _privateConstructorUsedError; String? get phoneNumber => throw _privateConstructorUsedError; String? get email => throw _privateConstructorUsedError; DateTime? get lastSeen => throw _privateConstructorUsedError; bool? get isOnline => throw _privateConstructorUsedError; String? get status => throw _privateConstructorUsedError; @JsonKey(ignore: true) $ProfileCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ProfileCopyWith<$Res> { factory $ProfileCopyWith(Profile value, $Res Function(Profile) then) = _$ProfileCopyWithImpl<$Res, Profile>; @useResult $Res call( {String id, String userId, String? bio, String? avatarUrl, String? phoneNumber, String? email, DateTime? lastSeen, bool? isOnline, String? status}); } /// @nodoc class _$ProfileCopyWithImpl<$Res, $Val extends Profile> implements $ProfileCopyWith<$Res> { _$ProfileCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? userId = null, Object? bio = freezed, Object? avatarUrl = freezed, Object? phoneNumber = freezed, Object? email = freezed, Object? lastSeen = freezed, Object? isOnline = freezed, Object? status = freezed, }) { return _then(_value.copyWith( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, userId: null == userId ? _value.userId : userId // ignore: cast_nullable_to_non_nullable as String, bio: freezed == bio ? _value.bio : bio // ignore: cast_nullable_to_non_nullable as String?, avatarUrl: freezed == avatarUrl ? _value.avatarUrl : avatarUrl // ignore: cast_nullable_to_non_nullable as String?, phoneNumber: freezed == phoneNumber ? _value.phoneNumber : phoneNumber // ignore: cast_nullable_to_non_nullable as String?, email: freezed == email ? _value.email : email // ignore: cast_nullable_to_non_nullable as String?, lastSeen: freezed == lastSeen ? _value.lastSeen : lastSeen // ignore: cast_nullable_to_non_nullable as DateTime?, isOnline: freezed == isOnline ? _value.isOnline : isOnline // ignore: cast_nullable_to_non_nullable as bool?, status: freezed == status ? _value.status : status // ignore: cast_nullable_to_non_nullable as String?, ) as $Val); } } /// @nodoc abstract class _$$ProfileImplCopyWith<$Res> implements $ProfileCopyWith<$Res> { factory _$$ProfileImplCopyWith( _$ProfileImpl value, $Res Function(_$ProfileImpl) then) = __$$ProfileImplCopyWithImpl<$Res>; @override @useResult $Res call( {String id, String userId, String? bio, String? avatarUrl, String? phoneNumber, String? email, DateTime? lastSeen, bool? isOnline, String? status}); } /// @nodoc class __$$ProfileImplCopyWithImpl<$Res> extends _$ProfileCopyWithImpl<$Res, _$ProfileImpl> implements _$$ProfileImplCopyWith<$Res> { __$$ProfileImplCopyWithImpl( _$ProfileImpl _value, $Res Function(_$ProfileImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? userId = null, Object? bio = freezed, Object? avatarUrl = freezed, Object? phoneNumber = freezed, Object? email = freezed, Object? lastSeen = freezed, Object? isOnline = freezed, Object? status = freezed, }) { return _then(_$ProfileImpl( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, userId: null == userId ? _value.userId : userId // ignore: cast_nullable_to_non_nullable as String, bio: freezed == bio ? _value.bio : bio // ignore: cast_nullable_to_non_nullable as String?, avatarUrl: freezed == avatarUrl ? _value.avatarUrl : avatarUrl // ignore: cast_nullable_to_non_nullable as String?, phoneNumber: freezed == phoneNumber ? _value.phoneNumber : phoneNumber // ignore: cast_nullable_to_non_nullable as String?, email: freezed == email ? _value.email : email // ignore: cast_nullable_to_non_nullable as String?, lastSeen: freezed == lastSeen ? _value.lastSeen : lastSeen // ignore: cast_nullable_to_non_nullable as DateTime?, isOnline: freezed == isOnline ? _value.isOnline : isOnline // ignore: cast_nullable_to_non_nullable as bool?, status: freezed == status ? _value.status : status // ignore: cast_nullable_to_non_nullable as String?, )); } } /// @nodoc class _$ProfileImpl implements _Profile { const _$ProfileImpl( {required this.id, required this.userId, this.bio, this.avatarUrl, this.phoneNumber, this.email, this.lastSeen, this.isOnline, this.status}); @override final String id; @override final String userId; @override final String? bio; @override final String? avatarUrl; @override final String? phoneNumber; @override final String? email; @override final DateTime? lastSeen; @override final bool? isOnline; @override final String? status; @override String toString() { return 'Profile(id: $id, userId: $userId, bio: $bio, avatarUrl: $avatarUrl, phoneNumber: $phoneNumber, email: $email, lastSeen: $lastSeen, isOnline: $isOnline, status: $status)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ProfileImpl && (identical(other.id, id) || other.id == id) && (identical(other.userId, userId) || other.userId == userId) && (identical(other.bio, bio) || other.bio == bio) && (identical(other.avatarUrl, avatarUrl) || other.avatarUrl == avatarUrl) && (identical(other.phoneNumber, phoneNumber) || other.phoneNumber == phoneNumber) && (identical(other.email, email) || other.email == email) && (identical(other.lastSeen, lastSeen) || other.lastSeen == lastSeen) && (identical(other.isOnline, isOnline) || other.isOnline == isOnline) && (identical(other.status, status) || other.status == status)); } @override int get hashCode => Object.hash(runtimeType, id, userId, bio, avatarUrl, phoneNumber, email, lastSeen, isOnline, status); @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') _$$ProfileImplCopyWith<_$ProfileImpl> get copyWith => __$$ProfileImplCopyWithImpl<_$ProfileImpl>(this, _$identity); } abstract class _Profile implements Profile { const factory _Profile( {required final String id, required final String userId, final String? bio, final String? avatarUrl, final String? phoneNumber, final String? email, final DateTime? lastSeen, final bool? isOnline, final String? status}) = _$ProfileImpl; @override String get id; @override String get userId; @override String? get bio; @override String? get avatarUrl; @override String? get phoneNumber; @override String? get email; @override DateTime? get lastSeen; @override bool? get isOnline; @override String? get status; @override @JsonKey(ignore: true) _$$ProfileImplCopyWith<_$ProfileImpl> get copyWith => throw _privateConstructorUsedError; }