// GENERATED CODE - DO NOT MODIFY BY HAND part of 'reaction_state.dart'; // ************************************************************************** // CopyWithGenerator // ************************************************************************** abstract class _$ReactionStateCWProxy { ReactionState likedIds(List? likedIds); ReactionState dislikedIds(List? dislikedIds); /// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored. You can also use `ReactionState(...).copyWith.fieldName(...)` to override fields one at a time with nullification support. /// /// Usage /// ```dart /// ReactionState(...).copyWith(id: 12, name: "My name") /// ```` ReactionState call({ List? likedIds, List? dislikedIds, }); } /// Proxy class for `copyWith` functionality. This is a callable class and can be used as follows: `instanceOfReactionState.copyWith(...)`. Additionally contains functions for specific fields e.g. `instanceOfReactionState.copyWith.fieldName(...)` class _$ReactionStateCWProxyImpl implements _$ReactionStateCWProxy { const _$ReactionStateCWProxyImpl(this._value); final ReactionState _value; @override ReactionState likedIds(List? likedIds) => this(likedIds: likedIds); @override ReactionState dislikedIds(List? dislikedIds) => this(dislikedIds: dislikedIds); @override /// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored. You can also use `ReactionState(...).copyWith.fieldName(...)` to override fields one at a time with nullification support. /// /// Usage /// ```dart /// ReactionState(...).copyWith(id: 12, name: "My name") /// ```` ReactionState call({ Object? likedIds = const $CopyWithPlaceholder(), Object? dislikedIds = const $CopyWithPlaceholder(), }) { return ReactionState( likedIds: likedIds == const $CopyWithPlaceholder() ? _value.likedIds // ignore: cast_nullable_to_non_nullable : likedIds as List?, dislikedIds: dislikedIds == const $CopyWithPlaceholder() ? _value.dislikedIds // ignore: cast_nullable_to_non_nullable : dislikedIds as List?, ); } } extension $ReactionStateCopyWith on ReactionState { /// Returns a callable class that can be used as follows: `instanceOfReactionState.copyWith(...)` or like so:`instanceOfReactionState.copyWith.fieldName(...)`. // ignore: library_private_types_in_public_api _$ReactionStateCWProxy get copyWith => _$ReactionStateCWProxyImpl(this); }