// 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 'crud_collection_dto.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 _$CrudCollectionDto { String get desc => throw _privateConstructorUsedError; String get title => throw _privateConstructorUsedError; bool get isPublic => throw _privateConstructorUsedError; String? get avatar => throw _privateConstructorUsedError; /// Create a copy of CrudCollectionDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $CrudCollectionDtoCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $CrudCollectionDtoCopyWith<$Res> { factory $CrudCollectionDtoCopyWith( CrudCollectionDto value, $Res Function(CrudCollectionDto) then, ) = _$CrudCollectionDtoCopyWithImpl<$Res, CrudCollectionDto>; @useResult $Res call({String desc, String title, bool isPublic, String? avatar}); } /// @nodoc class _$CrudCollectionDtoCopyWithImpl<$Res, $Val extends CrudCollectionDto> implements $CrudCollectionDtoCopyWith<$Res> { _$CrudCollectionDtoCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of CrudCollectionDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? desc = null, Object? title = null, Object? isPublic = null, Object? avatar = freezed, }) { return _then( _value.copyWith( desc: null == desc ? _value.desc : desc // ignore: cast_nullable_to_non_nullable as String, title: null == title ? _value.title : title // ignore: cast_nullable_to_non_nullable as String, isPublic: null == isPublic ? _value.isPublic : isPublic // ignore: cast_nullable_to_non_nullable as bool, avatar: freezed == avatar ? _value.avatar : avatar // ignore: cast_nullable_to_non_nullable as String?, ) as $Val, ); } } /// @nodoc abstract class _$$CrudCollectionDtoImplCopyWith<$Res> implements $CrudCollectionDtoCopyWith<$Res> { factory _$$CrudCollectionDtoImplCopyWith( _$CrudCollectionDtoImpl value, $Res Function(_$CrudCollectionDtoImpl) then, ) = __$$CrudCollectionDtoImplCopyWithImpl<$Res>; @override @useResult $Res call({String desc, String title, bool isPublic, String? avatar}); } /// @nodoc class __$$CrudCollectionDtoImplCopyWithImpl<$Res> extends _$CrudCollectionDtoCopyWithImpl<$Res, _$CrudCollectionDtoImpl> implements _$$CrudCollectionDtoImplCopyWith<$Res> { __$$CrudCollectionDtoImplCopyWithImpl( _$CrudCollectionDtoImpl _value, $Res Function(_$CrudCollectionDtoImpl) _then, ) : super(_value, _then); /// Create a copy of CrudCollectionDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? desc = null, Object? title = null, Object? isPublic = null, Object? avatar = freezed, }) { return _then( _$CrudCollectionDtoImpl( desc: null == desc ? _value.desc : desc // ignore: cast_nullable_to_non_nullable as String, title: null == title ? _value.title : title // ignore: cast_nullable_to_non_nullable as String, isPublic: null == isPublic ? _value.isPublic : isPublic // ignore: cast_nullable_to_non_nullable as bool, avatar: freezed == avatar ? _value.avatar : avatar // ignore: cast_nullable_to_non_nullable as String?, ), ); } } /// @nodoc class _$CrudCollectionDtoImpl implements _CrudCollectionDto { const _$CrudCollectionDtoImpl({ required this.desc, required this.title, required this.isPublic, this.avatar, }); @override final String desc; @override final String title; @override final bool isPublic; @override final String? avatar; @override String toString() { return 'CrudCollectionDto(desc: $desc, title: $title, isPublic: $isPublic, avatar: $avatar)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$CrudCollectionDtoImpl && (identical(other.desc, desc) || other.desc == desc) && (identical(other.title, title) || other.title == title) && (identical(other.isPublic, isPublic) || other.isPublic == isPublic) && (identical(other.avatar, avatar) || other.avatar == avatar)); } @override int get hashCode => Object.hash(runtimeType, desc, title, isPublic, avatar); /// Create a copy of CrudCollectionDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$CrudCollectionDtoImplCopyWith<_$CrudCollectionDtoImpl> get copyWith => __$$CrudCollectionDtoImplCopyWithImpl<_$CrudCollectionDtoImpl>( this, _$identity, ); } abstract class _CrudCollectionDto implements CrudCollectionDto { const factory _CrudCollectionDto({ required final String desc, required final String title, required final bool isPublic, final String? avatar, }) = _$CrudCollectionDtoImpl; @override String get desc; @override String get title; @override bool get isPublic; @override String? get avatar; /// Create a copy of CrudCollectionDto /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$CrudCollectionDtoImplCopyWith<_$CrudCollectionDtoImpl> get copyWith => throw _privateConstructorUsedError; }