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