content: // 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 'add_edit_task_states.dart';
  
  // **************************************************************************
  // FreezedGenerator
  // **************************************************************************
  
  T _$identity<T>(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 _$AddEditTaskStates<T> {
    @optionalTypeArgs
    TResult when<TResult extends Object?>({
      required TResult Function() initial,
      required TResult Function() loading,
      required TResult Function(T data) success,
      required TResult Function(String error) error,
      required TResult Function() uploadImageloading,
      required TResult Function(T data) uploadImageSuccess,
      required TResult Function(String error) uploadImageError,
    }) =>
        throw _privateConstructorUsedError;
    @optionalTypeArgs
    TResult? whenOrNull<TResult extends Object?>({
      TResult? Function()? initial,
      TResult? Function()? loading,
      TResult? Function(T data)? success,
      TResult? Function(String error)? error,
      TResult? Function()? uploadImageloading,
      TResult? Function(T data)? uploadImageSuccess,
      TResult? Function(String error)? uploadImageError,
    }) =>
        throw _privateConstructorUsedError;
    @optionalTypeArgs
    TResult maybeWhen<TResult extends Object?>({
      TResult Function()? initial,
      TResult Function()? loading,
      TResult Function(T data)? success,
      TResult Function(String error)? error,
      TResult Function()? uploadImageloading,
      TResult Function(T data)? uploadImageSuccess,
      TResult Function(String error)? uploadImageError,
      required TResult orElse(),
    }) =>
        throw _privateConstructorUsedError;
    @optionalTypeArgs
    TResult map<TResult extends Object?>({
      required TResult Function(_Initial<T> value) initial,
      required TResult Function(Loading<T> value) loading,
      required TResult Function(Success<T> value) success,
      required TResult Function(Error<T> value) error,
      required TResult Function(UploadImageLoading<T> value) uploadImageloading,
      required TResult Function(UploadImageSuccess<T> value) uploadImageSuccess,
      required TResult Function(UploadImageError<T> value) uploadImageError,
    }) =>
        throw _privateConstructorUsedError;
    @optionalTypeArgs
    TResult? mapOrNull<TResult extends Object?>({
      TResult? Function(_Initial<T> value)? initial,
      TResult? Function(Loading<T> value)? loading,
      TResult? Function(Success<T> value)? success,
      TResult? Function(Error<T> value)? error,
      TResult? Function(UploadImageLoading<T> value)? uploadImageloading,
      TResult? Function(UploadImageSuccess<T> value)? uploadImageSuccess,
      TResult? Function(UploadImageError<T> value)? uploadImageError,
    }) =>
        throw _privateConstructorUsedError;
    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>({
      TResult Function(_Initial<T> value)? initial,
      TResult Function(Loading<T> value)? loading,
      TResult Function(Success<T> value)? success,
      TResult Function(Error<T> value)? error,
      TResult Function(UploadImageLoading<T> value)? uploadImageloading,
      TResult Function(UploadImageSuccess<T> value)? uploadImageSuccess,
      TResult Function(UploadImageError<T> value)? uploadImageError,
      required TResult orElse(),
    }) =>
        throw _privateConstructorUsedError;
  }
  
  /// @nodoc
  abstract class $AddEditTaskStatesCopyWith<T, $Res> {
    factory $AddEditTaskStatesCopyWith(AddEditTaskStates<T> value,
            $Res Function(AddEditTaskStates<T>) then) =
        _$AddEditTaskStatesCopyWithImpl<T, $Res, AddEditTaskStates<T>>;
  }
  
  /// @nodoc
  class _$AddEditTaskStatesCopyWithImpl<T, $Res,
          $Val extends AddEditTaskStates<T>>
      implements $AddEditTaskStatesCopyWith<T, $Res> {
    _$AddEditTaskStatesCopyWithImpl(this._value, this._then);
  
    // ignore: unused_field
    final $Val _value;
    // ignore: unused_field
    final $Res Function($Val) _then;
  }
  
  /// @nodoc
  abstract class _$$InitialImplCopyWith<T, $Res> {
    factory _$$InitialImplCopyWith(
            _$InitialImpl<T> value, $Res Function(_$InitialImpl<T>) then) =
        __$$InitialImplCopyWithImpl<T, $Res>;
  }
  
  /// @nodoc
  class __$$InitialImplCopyWithImpl<T, $Res>
      extends _$AddEditTaskStatesCopyWithImpl<T, $Res, _$InitialImpl<T>>
      implements _$$InitialImplCopyWith<T, $Res> {
    __$$InitialImplCopyWithImpl(
        _$InitialImpl<T> _value, $Res Function(_$InitialImpl<T>) _then)
        : super(_value, _then);
  }
  
  /// @nodoc
  
  class _$InitialImpl<T> implements _Initial<T> {
    const _$InitialImpl();
  
    @override
    String toString() {
      return 'AddEditTaskStates<$T>.initial()';
    }
  
    @override
    bool operator ==(Object other) {
      return identical(this, other) ||
          (other.runtimeType == runtimeType && other is _$InitialImpl<T>);
    }
  
    @override
    int get hashCode => runtimeType.hashCode;
  
    @override
    @optionalTypeArgs
    TResult when<TResult extends Object?>({
      required TResult Function() initial,
      required TResult Function() loading,
      required TResult Function(T data) success,
      required TResult Function(String error) error,
      required TResult Function() uploadImageloading,
      required TResult Function(T data) uploadImageSuccess,
      required TResult Function(String error) uploadImageError,
    }) {
      return initial();
    }
  
    @override
    @optionalTypeArgs
    TResult? whenOrNull<TResult extends Object?>({
      TResult? Function()? initial,
      TResult? Function()? loading,
      TResult? Function(T data)? success,
      TResult? Function(String error)? error,
      TResult? Function()? uploadImageloading,
      TResult? Function(T data)? uploadImageSuccess,
      TResult? Function(String error)? uploadImageError,
    }) {
      return initial?.call();
    }
  
    @override
    @optionalTypeArgs
    TResult maybeWhen<TResult extends Object?>({
      TResult Function()? initial,
      TResult Function()? loading,
      TResult Function(T data)? success,
      TResult Function(String error)? error,
      TResult Function()? uploadImageloading,
      TResult Function(T data)? uploadImageSuccess,
      TResult Function(String error)? uploadImageError,
      required TResult orElse(),
    }) {
      if (initial != null) {
        return initial();
      }
      return orElse();
    }
  
    @override
    @optionalTypeArgs
    TResult map<TResult extends Object?>({
      required TResult Function(_Initial<T> value) initial,
      required TResult Function(Loading<T> value) loading,
      required TResult Function(Success<T> value) success,
      required TResult Function(Error<T> value) error,
      required TResult Function(UploadImageLoading<T> value) uploadImageloading,
      required TResult Function(UploadImageSuccess<T> value) uploadImageSuccess,
      required TResult Function(UploadImageError<T> value) uploadImageError,
    }) {
      return initial(this);
    }
  
    @override
    @optionalTypeArgs
    TResult? mapOrNull<TResult extends Object?>({
      TResult? Function(_Initial<T> value)? initial,
      TResult? Function(Loading<T> value)? loading,
      TResult? Function(Success<T> value)? success,
      TResult? Function(Error<T> value)? error,
      TResult? Function(UploadImageLoading<T> value)? uploadImageloading,
      TResult? Function(UploadImageSuccess<T> value)? uploadImageSuccess,
      TResult? Function(UploadImageError<T> value)? uploadImageError,
    }) {
      return initial?.call(this);
    }
  
    @override
    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>({
      TResult Function(_Initial<T> value)? initial,
      TResult Function(Loading<T> value)? loading,
      TResult Function(Success<T> value)? success,
      TResult Function(Error<T> value)? error,
      TResult Function(UploadImageLoading<T> value)? uploadImageloading,
      TResult Function(UploadImageSuccess<T> value)? uploadImageSuccess,
      TResult Function(UploadImageError<T> value)? uploadImageError,
      required TResult orElse(),
    }) {
      if (initial != null) {
        return initial(this);
      }
      return orElse();
    }
  }
  
  abstract class _Initial<T> implements AddEditTaskStates<T> {
    const factory _Initial() = _$InitialImpl<T>;
  }
  
  /// @nodoc
  abstract class _$$LoadingImplCopyWith<T, $Res> {
    factory _$$LoadingImplCopyWith(
            _$LoadingImpl<T> value, $Res Function(_$LoadingImpl<T>) then) =
        __$$LoadingImplCopyWithImpl<T, $Res>;
  }
  
  /// @nodoc
  class __$$LoadingImplCopyWithImpl<T, $Res>
      extends _$AddEditTaskStatesCopyWithImpl<T, $Res, _$LoadingImpl<T>>
      implements _$$LoadingImplCopyWith<T, $Res> {
    __$$LoadingImplCopyWithImpl(
        _$LoadingImpl<T> _value, $Res Function(_$LoadingImpl<T>) _then)
        : super(_value, _then);
  }
  
  /// @nodoc
  
  class _$LoadingImpl<T> implements Loading<T> {
    const _$LoadingImpl();
  
    @override
    String toString() {
      return 'AddEditTaskStates<$T>.loading()';
    }
  
    @override
    bool operator ==(Object other) {
      return identical(this, other) ||
          (other.runtimeType == runtimeType && other is _$LoadingImpl<T>);
    }
  
    @override
    int get hashCode => runtimeType.hashCode;
  
    @override
    @optionalTypeArgs
    TResult when<TResult extends Object?>({
      required TResult Function() initial,
      required TResult Function() loading,
      required TResult Function(T data) success,
      required TResult Function(String error) error,
      required TResult Function() uploadImageloading,
      required TResult Function(T data) uploadImageSuccess,
      required TResult Function(String error) uploadImageError,
    }) {
      return loading();
    }
  
    @override
    @optionalTypeArgs
    TResult? whenOrNull<TResult extends Object?>({
      TResult? Function()? initial,
      TResult? Function()? loading,
      TResult? Function(T data)? success,
      TResult? Function(String error)? error,
      TResult? Function()? uploadImageloading,
      TResult? Function(T data)? uploadImageSuccess,
      TResult? Function(String error)? uploadImageError,
    }) {
      return loading?.call();
    }
  
    @override
    @optionalTypeArgs
    TResult maybeWhen<TResult extends Object?>({
      TResult Function()? initial,
      TResult Function()? loading,
      TResult Function(T data)? success,
      TResult Function(String error)? error,
      TResult Function()? uploadImageloading,
      TResult Function(T data)? uploadImageSuccess,
      TResult Function(String error)? uploadImageError,
      required TResult orElse(),
    }) {
      if (loading != null) {
        return loading();
      }
      return orElse();
    }
  
    @override
    @optionalTypeArgs
    TResult map<TResult extends Object?>({
      required TResult Function(_Initial<T> value) initial,
      required TResult Function(Loading<T> value) loading,
      required TResult Function(Success<T> value) success,
      required TResult Function(Error<T> value) error,
      required TResult Function(UploadImageLoading<T> value) uploadImageloading,
      required TResult Function(UploadImageSuccess<T> value) uploadImageSuccess,
      required TResult Function(UploadImageError<T> value) uploadImageError,
    }) {
      return loading(this);
    }
  
    @override
    @optionalTypeArgs
    TResult? mapOrNull<TResult extends Object?>({
      TResult? Function(_Initial<T> value)? initial,
      TResult? Function(Loading<T> value)? loading,
      TResult? Function(Success<T> value)? success,
      TResult? Function(Error<T> value)? error,
      TResult? Function(UploadImageLoading<T> value)? uploadImageloading,
      TResult? Function(UploadImageSuccess<T> value)? uploadImageSuccess,
      TResult? Function(UploadImageError<T> value)? uploadImageError,
    }) {
      return loading?.call(this);
    }
  
    @override
    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>({
      TResult Function(_Initial<T> value)? initial,
      TResult Function(Loading<T> value)? loading,
      TResult Function(Success<T> value)? success,
      TResult Function(Error<T> value)? error,
      TResult Function(UploadImageLoading<T> value)? uploadImageloading,
      TResult Function(UploadImageSuccess<T> value)? uploadImageSuccess,
      TResult Function(UploadImageError<T> value)? uploadImageError,
      required TResult orElse(),
    }) {
      if (loading != null) {
        return loading(this);
      }
      return orElse();
    }
  }
  
  abstract class Loading<T> implements AddEditTaskStates<T> {
    const factory Loading() = _$LoadingImpl<T>;
  }
  
  /// @nodoc
  abstract class _$$SuccessImplCopyWith<T, $Res> {
    factory _$$SuccessImplCopyWith(
            _$SuccessImpl<T> value, $Res Function(_$SuccessImpl<T>) then) =
        __$$SuccessImplCopyWithImpl<T, $Res>;
    @useResult
    $Res call({T data});
  }
  
  /// @nodoc
  class __$$SuccessImplCopyWithImpl<T, $Res>
      extends _$AddEditTaskStatesCopyWithImpl<T, $Res, _$SuccessImpl<T>>
      implements _$$SuccessImplCopyWith<T, $Res> {
    __$$SuccessImplCopyWithImpl(
        _$SuccessImpl<T> _value, $Res Function(_$SuccessImpl<T>) _then)
        : super(_value, _then);
  
    @pragma('vm:prefer-inline')
    @override
    $Res call({
      Object? data = freezed,
    }) {
      return _then(_$SuccessImpl<T>(
        freezed == data
            ? _value.data
            : data // ignore: cast_nullable_to_non_nullable
                as T,
      ));
    }
  }
  
  /// @nodoc
  
  class _$SuccessImpl<T> implements Success<T> {
    const _$SuccessImpl(this.data);
  
    @override
    final T data;
  
    @override
    String toString() {
      return 'AddEditTaskStates<$T>.success(data: $data)';
    }
  
    @override
    bool operator ==(Object other) {
      return identical(this, other) ||
          (other.runtimeType == runtimeType &&
              other is _$SuccessImpl<T> &&
              const DeepCollectionEquality().equals(other.data, data));
    }
  
    @override
    int get hashCode =>
        Object.hash(runtimeType, const DeepCollectionEquality().hash(data));
  
    @JsonKey(ignore: true)
    @override
    @pragma('vm:prefer-inline')
    _$$SuccessImplCopyWith<T, _$SuccessImpl<T>> get copyWith =>
        __$$SuccessImplCopyWithImpl<T, _$SuccessImpl<T>>(this, _$identity);
  
    @override
    @optionalTypeArgs
    TResult when<TResult extends Object?>({
      required TResult Function() initial,
      required TResult Function() loading,
      required TResult Function(T data) success,
      required TResult Function(String error) error,
      required TResult Function() uploadImageloading,
      required TResult Function(T data) uploadImageSuccess,
      required TResult Function(String error) uploadImageError,
    }) {
      return success(data);
    }
  
    @override
    @optionalTypeArgs
    TResult? whenOrNull<TResult extends Object?>({
      TResult? Function()? initial,
      TResult? Function()? loading,
      TResult? Function(T data)? success,
      TResult? Function(String error)? error,
      TResult? Function()? uploadImageloading,
      TResult? Function(T data)? uploadImageSuccess,
      TResult? Function(String error)? uploadImageError,
    }) {
      return success?.call(data);
    }
  
    @override
    @optionalTypeArgs
    TResult maybeWhen<TResult extends Object?>({
      TResult Function()? initial,
      TResult Function()? loading,
      TResult Function(T data)? success,
      TResult Function(String error)? error,
      TResult Function()? uploadImageloading,
      TResult Function(T data)? uploadImageSuccess,
      TResult Function(String error)? uploadImageError,
      required TResult orElse(),
    }) {
      if (success != null) {
        return success(data);
      }
      return orElse();
    }
  
    @override
    @optionalTypeArgs
    TResult map<TResult extends Object?>({
      required TResult Function(_Initial<T> value) initial,
      required TResult Function(Loading<T> value) loading,
      required TResult Function(Success<T> value) success,
      required TResult Function(Error<T> value) error,
      required TResult Function(UploadImageLoading<T> value) uploadImageloading,
      required TResult Function(UploadImageSuccess<T> value) uploadImageSuccess,
      required TResult Function(UploadImageError<T> value) uploadImageError,
    }) {
      return success(this);
    }
  
    @override
    @optionalTypeArgs
    TResult? mapOrNull<TResult extends Object?>({
      TResult? Function(_Initial<T> value)? initial,
      TResult? Function(Loading<T> value)? loading,
      TResult? Function(Success<T> value)? success,
      TResult? Function(Error<T> value)? error,
      TResult? Function(UploadImageLoading<T> value)? uploadImageloading,
      TResult? Function(UploadImageSuccess<T> value)? uploadImageSuccess,
      TResult? Function(UploadImageError<T> value)? uploadImageError,
    }) {
      return success?.call(this);
    }
  
    @override
    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>({
      TResult Function(_Initial<T> value)? initial,
      TResult Function(Loading<T> value)? loading,
      TResult Function(Success<T> value)? success,
      TResult Function(Error<T> value)? error,
      TResult Function(UploadImageLoading<T> value)? uploadImageloading,
      TResult Function(UploadImageSuccess<T> value)? uploadImageSuccess,
      TResult Function(UploadImageError<T> value)? uploadImageError,
      required TResult orElse(),
    }) {
      if (success != null) {
        return success(this);
      }
      return orElse();
    }
  }
  
  abstract class Success<T> implements AddEditTaskStates<T> {
    const factory Success(final T data) = _$SuccessImpl<T>;
  
    T get data;
    @JsonKey(ignore: true)
    _$$SuccessImplCopyWith<T, _$SuccessImpl<T>> get copyWith =>
        throw _privateConstructorUsedError;
  }
  
  /// @nodoc
  abstract class _$$ErrorImplCopyWith<T, $Res> {
    factory _$$ErrorImplCopyWith(
            _$ErrorImpl<T> value, $Res Function(_$ErrorImpl<T>) then) =
        __$$ErrorImplCopyWithImpl<T, $Res>;
    @useResult
    $Res call({String error});
  }
  
  /// @nodoc
  class __$$ErrorImplCopyWithImpl<T, $Res>
      extends _$AddEditTaskStatesCopyWithImpl<T, $Res, _$ErrorImpl<T>>
      implements _$$ErrorImplCopyWith<T, $Res> {
    __$$ErrorImplCopyWithImpl(
        _$ErrorImpl<T> _value, $Res Function(_$ErrorImpl<T>) _then)
        : super(_value, _then);
  
    @pragma('vm:prefer-inline')
    @override
    $Res call({
      Object? error = null,
    }) {
      return _then(_$ErrorImpl<T>(
        error: null == error
            ? _value.error
            : error // ignore: cast_nullable_to_non_nullable
                as String,
      ));
    }
  }
  
  /// @nodoc
  
  class _$ErrorImpl<T> implements Error<T> {
    const _$ErrorImpl({required this.error});
  
    @override
    final String error;
  
    @override
    String toString() {
      return 'AddEditTaskStates<$T>.error(error: $error)';
    }
  
    @override
    bool operator ==(Object other) {
      return identical(this, other) ||
          (other.runtimeType == runtimeType &&
              other is _$ErrorImpl<T> &&
              (identical(other.error, error) || other.error == error));
    }
  
    @override
    int get hashCode => Object.hash(runtimeType, error);
  
    @JsonKey(ignore: true)
    @override
    @pragma('vm:prefer-inline')
    _$$ErrorImplCopyWith<T, _$ErrorImpl<T>> get copyWith =>
        __$$ErrorImplCopyWithImpl<T, _$ErrorImpl<T>>(this, _$identity);
  
    @override
    @optionalTypeArgs
    TResult when<TResult extends Object?>({
      required TResult Function() initial,
      required TResult Function() loading,
      required TResult Function(T data) success,
      required TResult Function(String error) error,
      required TResult Function() uploadImageloading,
      required TResult Function(T data) uploadImageSuccess,
      required TResult Function(String error) uploadImageError,
    }) {
      return error(this.error);
    }
  
    @override
    @optionalTypeArgs
    TResult? whenOrNull<TResult extends Object?>({
      TResult? Function()? initial,
      TResult? Function()? loading,
      TResult? Function(T data)? success,
      TResult? Function(String error)? error,
      TResult? Function()? uploadImageloading,
      TResult? Function(T data)? uploadImageSuccess,
      TResult? Function(String error)? uploadImageError,
    }) {
      return error?.call(this.error);
    }
  
    @override
    @optionalTypeArgs
    TResult maybeWhen<TResult extends Object?>({
      TResult Function()? initial,
      TResult Function()? loading,
      TResult Function(T data)? success,
      TResult Function(String error)? error,
      TResult Function()? uploadImageloading,
      TResult Function(T data)? uploadImageSuccess,
      TResult Function(String error)? uploadImageError,
      required TResult orElse(),
    }) {
      if (error != null) {
        return error(this.error);
      }
      return orElse();
    }
  
    @override
    @optionalTypeArgs
    TResult map<TResult extends Object?>({
      required TResult Function(_Initial<T> value) initial,
      required TResult Function(Loading<T> value) loading,
      required TResult Function(Success<T> value) success,
      required TResult Function(Error<T> value) error,
      required TResult Function(UploadImageLoading<T> value) uploadImageloading,
      required TResult Function(UploadImageSuccess<T> value) uploadImageSuccess,
      required TResult Function(UploadImageError<T> value) uploadImageError,
    }) {
      return error(this);
    }
  
    @override
    @optionalTypeArgs
    TResult? mapOrNull<TResult extends Object?>({
      TResult? Function(_Initial<T> value)? initial,
      TResult? Function(Loading<T> value)? loading,
      TResult? Function(Success<T> value)? success,
      TResult? Function(Error<T> value)? error,
      TResult? Function(UploadImageLoading<T> value)? uploadImageloading,
      TResult? Function(UploadImageSuccess<T> value)? uploadImageSuccess,
      TResult? Function(UploadImageError<T> value)? uploadImageError,
    }) {
      return error?.call(this);
    }
  
    @override
    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>({
      TResult Function(_Initial<T> value)? initial,
      TResult Function(Loading<T> value)? loading,
      TResult Function(Success<T> value)? success,
      TResult Function(Error<T> value)? error,
      TResult Function(UploadImageLoading<T> value)? uploadImageloading,
      TResult Function(UploadImageSuccess<T> value)? uploadImageSuccess,
      TResult Function(UploadImageError<T> value)? uploadImageError,
      required TResult orElse(),
    }) {
      if (error != null) {
        return error(this);
      }
      return orElse();
    }
  }
  
  abstract class Error<T> implements AddEditTaskStates<T> {
    const factory Error({required final String error}) = _$ErrorImpl<T>;
  
    String get error;
    @JsonKey(ignore: true)
    _$$ErrorImplCopyWith<T, _$ErrorImpl<T>> get copyWith =>
        throw _privateConstructorUsedError;
  }
  
  /// @nodoc
  abstract class _$$UploadImageLoadingImplCopyWith<T, $Res> {
    factory _$$UploadImageLoadingImplCopyWith(_$UploadImageLoadingImpl<T> value,
            $Res Function(_$UploadImageLoadingImpl<T>) then) =
        __$$UploadImageLoadingImplCopyWithImpl<T, $Res>;
  }
  
  /// @nodoc
  class __$$UploadImageLoadingImplCopyWithImpl<T, $Res>
      extends _$AddEditTaskStatesCopyWithImpl<T, $Res,
          _$UploadImageLoadingImpl<T>>
      implements _$$UploadImageLoadingImplCopyWith<T, $Res> {
    __$$UploadImageLoadingImplCopyWithImpl(_$UploadImageLoadingImpl<T> _value,
        $Res Function(_$UploadImageLoadingImpl<T>) _then)
        : super(_value, _then);
  }
  
  /// @nodoc
  
  class _$UploadImageLoadingImpl<T> implements UploadImageLoading<T> {
    const _$UploadImageLoadingImpl();
  
    @override
    String toString() {
      return 'AddEditTaskStates<$T>.uploadImageloading()';
    }
  
    @override
    bool operator ==(Object other) {
      return identical(this, other) ||
          (other.runtimeType == runtimeType &&
              other is _$UploadImageLoadingImpl<T>);
    }
  
    @override
    int get hashCode => runtimeType.hashCode;
  
    @override
    @optionalTypeArgs
    TResult when<TResult extends Object?>({
      required TResult Function() initial,
      required TResult Function() loading,
      required TResult Function(T data) success,
      required TResult Function(String error) error,
      required TResult Function() uploadImageloading,
      required TResult Function(T data) uploadImageSuccess,
      required TResult Function(String error) uploadImageError,
    }) {
      return uploadImageloading();
    }
  
    @override
    @optionalTypeArgs
    TResult? whenOrNull<TResult extends Object?>({
      TResult? Function()? initial,
      TResult? Function()? loading,
      TResult? Function(T data)? success,
      TResult? Function(String error)? error,
      TResult? Function()? uploadImageloading,
      TResult? Function(T data)? uploadImageSuccess,
      TResult? Function(String error)? uploadImageError,
    }) {
      return uploadImageloading?.call();
    }
  
    @override
    @optionalTypeArgs
    TResult maybeWhen<TResult extends Object?>({
      TResult Function()? initial,
      TResult Function()? loading,
      TResult Function(T data)? success,
      TResult Function(String error)? error,
      TResult Function()? uploadImageloading,
      TResult Function(T data)? uploadImageSuccess,
      TResult Function(String error)? uploadImageError,
      required TResult orElse(),
    }) {
      if (uploadImageloading != null) {
        return uploadImageloading();
      }
      return orElse();
    }
  
    @override
    @optionalTypeArgs
    TResult map<TResult extends Object?>({
      required TResult Function(_Initial<T> value) initial,
      required TResult Function(Loading<T> value) loading,
      required TResult Function(Success<T> value) success,
      required TResult Function(Error<T> value) error,
      required TResult Function(UploadImageLoading<T> value) uploadImageloading,
      required TResult Function(UploadImageSuccess<T> value) uploadImageSuccess,
      required TResult Function(UploadImageError<T> value) uploadImageError,
    }) {
      return uploadImageloading(this);
    }
  
    @override
    @optionalTypeArgs
    TResult? mapOrNull<TResult extends Object?>({
      TResult? Function(_Initial<T> value)? initial,
      TResult? Function(Loading<T> value)? loading,
      TResult? Function(Success<T> value)? success,
      TResult? Function(Error<T> value)? error,
      TResult? Function(UploadImageLoading<T> value)? uploadImageloading,
      TResult? Function(UploadImageSuccess<T> value)? uploadImageSuccess,
      TResult? Function(UploadImageError<T> value)? uploadImageError,
    }) {
      return uploadImageloading?.call(this);
    }
  
    @override
    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>({
      TResult Function(_Initial<T> value)? initial,
      TResult Function(Loading<T> value)? loading,
      TResult Function(Success<T> value)? success,
      TResult Function(Error<T> value)? error,
      TResult Function(UploadImageLoading<T> value)? uploadImageloading,
      TResult Function(UploadImageSuccess<T> value)? uploadImageSuccess,
      TResult Function(UploadImageError<T> value)? uploadImageError,
      required TResult orElse(),
    }) {
      if (uploadImageloading != null) {
        return uploadImageloading(this);
      }
      return orElse();
    }
  }
  
  abstract class UploadImageLoading<T> implements AddEditTaskStates<T> {
    const factory UploadImageLoading() = _$UploadImageLoadingImpl<T>;
  }
  
  /// @nodoc
  abstract class _$$UploadImageSuccessImplCopyWith<T, $Res> {
    factory _$$UploadImageSuccessImplCopyWith(_$UploadImageSuccessImpl<T> value,
            $Res Function(_$UploadImageSuccessImpl<T>) then) =
        __$$UploadImageSuccessImplCopyWithImpl<T, $Res>;
    @useResult
    $Res call({T data});
  }
  
  /// @nodoc
  class __$$UploadImageSuccessImplCopyWithImpl<T, $Res>
      extends _$AddEditTaskStatesCopyWithImpl<T, $Res,
          _$UploadImageSuccessImpl<T>>
      implements _$$UploadImageSuccessImplCopyWith<T, $Res> {
    __$$UploadImageSuccessImplCopyWithImpl(_$UploadImageSuccessImpl<T> _value,
        $Res Function(_$UploadImageSuccessImpl<T>) _then)
        : super(_value, _then);
  
    @pragma('vm:prefer-inline')
    @override
    $Res call({
      Object? data = freezed,
    }) {
      return _then(_$UploadImageSuccessImpl<T>(
        freezed == data
            ? _value.data
            : data // ignore: cast_nullable_to_non_nullable
                as T,
      ));
    }
  }
  
  /// @nodoc
  
  class _$UploadImageSuccessImpl<T> implements UploadImageSuccess<T> {
    const _$UploadImageSuccessImpl(this.data);
  
    @override
    final T data;
  
    @override
    String toString() {
      return 'AddEditTaskStates<$T>.uploadImageSuccess(data: $data)';
    }
  
    @override
    bool operator ==(Object other) {
      return identical(this, other) ||
          (other.runtimeType == runtimeType &&
              other is _$UploadImageSuccessImpl<T> &&
              const DeepCollectionEquality().equals(other.data, data));
    }
  
    @override
    int get hashCode =>
        Object.hash(runtimeType, const DeepCollectionEquality().hash(data));
  
    @JsonKey(ignore: true)
    @override
    @pragma('vm:prefer-inline')
    _$$UploadImageSuccessImplCopyWith<T, _$UploadImageSuccessImpl<T>>
        get copyWith => __$$UploadImageSuccessImplCopyWithImpl<T,
            _$UploadImageSuccessImpl<T>>(this, _$identity);
  
    @override
    @optionalTypeArgs
    TResult when<TResult extends Object?>({
      required TResult Function() initial,
      required TResult Function() loading,
      required TResult Function(T data) success,
      required TResult Function(String error) error,
      required TResult Function() uploadImageloading,
      required TResult Function(T data) uploadImageSuccess,
      required TResult Function(String error) uploadImageError,
    }) {
      return uploadImageSuccess(data);
    }
  
    @override
    @optionalTypeArgs
    TResult? whenOrNull<TResult extends Object?>({
      TResult? Function()? initial,
      TResult? Function()? loading,
      TResult? Function(T data)? success,
      TResult? Function(String error)? error,
      TResult? Function()? uploadImageloading,
      TResult? Function(T data)? uploadImageSuccess,
      TResult? Function(String error)? uploadImageError,
    }) {
      return uploadImageSuccess?.call(data);
    }
  
    @override
    @optionalTypeArgs
    TResult maybeWhen<TResult extends Object?>({
      TResult Function()? initial,
      TResult Function()? loading,
      TResult Function(T data)? success,
      TResult Function(String error)? error,
      TResult Function()? uploadImageloading,
      TResult Function(T data)? uploadImageSuccess,
      TResult Function(String error)? uploadImageError,
      required TResult orElse(),
    }) {
      if (uploadImageSuccess != null) {
        return uploadImageSuccess(data);
      }
      return orElse();
    }
  
    @override
    @optionalTypeArgs
    TResult map<TResult extends Object?>({
      required TResult Function(_Initial<T> value) initial,
      required TResult Function(Loading<T> value) loading,
      required TResult Function(Success<T> value) success,
      required TResult Function(Error<T> value) error,
      required TResult Function(UploadImageLoading<T> value) uploadImageloading,
      required TResult Function(UploadImageSuccess<T> value) uploadImageSuccess,
      required TResult Function(UploadImageError<T> value) uploadImageError,
    }) {
      return uploadImageSuccess(this);
    }
  
    @override
    @optionalTypeArgs
    TResult? mapOrNull<TResult extends Object?>({
      TResult? Function(_Initial<T> value)? initial,
      TResult? Function(Loading<T> value)? loading,
      TResult? Function(Success<T> value)? success,
      TResult? Function(Error<T> value)? error,
      TResult? Function(UploadImageLoading<T> value)? uploadImageloading,
      TResult? Function(UploadImageSuccess<T> value)? uploadImageSuccess,
      TResult? Function(UploadImageError<T> value)? uploadImageError,
    }) {
      return uploadImageSuccess?.call(this);
    }
  
    @override
    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>({
      TResult Function(_Initial<T> value)? initial,
      TResult Function(Loading<T> value)? loading,
      TResult Function(Success<T> value)? success,
      TResult Function(Error<T> value)? error,
      TResult Function(UploadImageLoading<T> value)? uploadImageloading,
      TResult Function(UploadImageSuccess<T> value)? uploadImageSuccess,
      TResult Function(UploadImageError<T> value)? uploadImageError,
      required TResult orElse(),
    }) {
      if (uploadImageSuccess != null) {
        return uploadImageSuccess(this);
      }
      return orElse();
    }
  }
  
  abstract class UploadImageSuccess<T> implements AddEditTaskStates<T> {
    const factory UploadImageSuccess(final T data) = _$UploadImageSuccessImpl<T>;
  
    T get data;
    @JsonKey(ignore: true)
    _$$UploadImageSuccessImplCopyWith<T, _$UploadImageSuccessImpl<T>>
        get copyWith => throw _privateConstructorUsedError;
  }
  
  /// @nodoc
  abstract class _$$UploadImageErrorImplCopyWith<T, $Res> {
    factory _$$UploadImageErrorImplCopyWith(_$UploadImageErrorImpl<T> value,
            $Res Function(_$UploadImageErrorImpl<T>) then) =
        __$$UploadImageErrorImplCopyWithImpl<T, $Res>;
    @useResult
    $Res call({String error});
  }
  
  /// @nodoc
  class __$$UploadImageErrorImplCopyWithImpl<T, $Res>
      extends _$AddEditTaskStatesCopyWithImpl<T, $Res, _$UploadImageErrorImpl<T>>
      implements _$$UploadImageErrorImplCopyWith<T, $Res> {
    __$$UploadImageErrorImplCopyWithImpl(_$UploadImageErrorImpl<T> _value,
        $Res Function(_$UploadImageErrorImpl<T>) _then)
        : super(_value, _then);
  
    @pragma('vm:prefer-inline')
    @override
    $Res call({
      Object? error = null,
    }) {
      return _then(_$UploadImageErrorImpl<T>(
        error: null == error
            ? _value.error
            : error // ignore: cast_nullable_to_non_nullable
                as String,
      ));
    }
  }
  
  /// @nodoc
  
  class _$UploadImageErrorImpl<T> implements UploadImageError<T> {
    const _$UploadImageErrorImpl({required this.error});
  
    @override
    final String error;
  
    @override
    String toString() {
      return 'AddEditTaskStates<$T>.uploadImageError(error: $error)';
    }
  
    @override
    bool operator ==(Object other) {
      return identical(this, other) ||
          (other.runtimeType == runtimeType &&
              other is _$UploadImageErrorImpl<T> &&
              (identical(other.error, error) || other.error == error));
    }
  
    @override
    int get hashCode => Object.hash(runtimeType, error);
  
    @JsonKey(ignore: true)
    @override
    @pragma('vm:prefer-inline')
    _$$UploadImageErrorImplCopyWith<T, _$UploadImageErrorImpl<T>> get copyWith =>
        __$$UploadImageErrorImplCopyWithImpl<T, _$UploadImageErrorImpl<T>>(
            this, _$identity);
  
    @override
    @optionalTypeArgs
    TResult when<TResult extends Object?>({
      required TResult Function() initial,
      required TResult Function() loading,
      required TResult Function(T data) success,
      required TResult Function(String error) error,
      required TResult Function() uploadImageloading,
      required TResult Function(T data) uploadImageSuccess,
      required TResult Function(String error) uploadImageError,
    }) {
      return uploadImageError(this.error);
    }
  
    @override
    @optionalTypeArgs
    TResult? whenOrNull<TResult extends Object?>({
      TResult? Function()? initial,
      TResult? Function()? loading,
      TResult? Function(T data)? success,
      TResult? Function(String error)? error,
      TResult? Function()? uploadImageloading,
      TResult? Function(T data)? uploadImageSuccess,
      TResult? Function(String error)? uploadImageError,
    }) {
      return uploadImageError?.call(this.error);
    }
  
    @override
    @optionalTypeArgs
    TResult maybeWhen<TResult extends Object?>({
      TResult Function()? initial,
      TResult Function()? loading,
      TResult Function(T data)? success,
      TResult Function(String error)? error,
      TResult Function()? uploadImageloading,
      TResult Function(T data)? uploadImageSuccess,
      TResult Function(String error)? uploadImageError,
      required TResult orElse(),
    }) {
      if (uploadImageError != null) {
        return uploadImageError(this.error);
      }
      return orElse();
    }
  
    @override
    @optionalTypeArgs
    TResult map<TResult extends Object?>({
      required TResult Function(_Initial<T> value) initial,
      required TResult Function(Loading<T> value) loading,
      required TResult Function(Success<T> value) success,
      required TResult Function(Error<T> value) error,
      required TResult Function(UploadImageLoading<T> value) uploadImageloading,
      required TResult Function(UploadImageSuccess<T> value) uploadImageSuccess,
      required TResult Function(UploadImageError<T> value) uploadImageError,
    }) {
      return uploadImageError(this);
    }
  
    @override
    @optionalTypeArgs
    TResult? mapOrNull<TResult extends Object?>({
      TResult? Function(_Initial<T> value)? initial,
      TResult? Function(Loading<T> value)? loading,
      TResult? Function(Success<T> value)? success,
      TResult? Function(Error<T> value)? error,
      TResult? Function(UploadImageLoading<T> value)? uploadImageloading,
      TResult? Function(UploadImageSuccess<T> value)? uploadImageSuccess,
      TResult? Function(UploadImageError<T> value)? uploadImageError,
    }) {
      return uploadImageError?.call(this);
    }
  
    @override
    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>({
      TResult Function(_Initial<T> value)? initial,
      TResult Function(Loading<T> value)? loading,
      TResult Function(Success<T> value)? success,
      TResult Function(Error<T> value)? error,
      TResult Function(UploadImageLoading<T> value)? uploadImageloading,
      TResult Function(UploadImageSuccess<T> value)? uploadImageSuccess,
      TResult Function(UploadImageError<T> value)? uploadImageError,
      required TResult orElse(),
    }) {
      if (uploadImageError != null) {
        return uploadImageError(this);
      }
      return orElse();
    }
  }
  
  abstract class UploadImageError<T> implements AddEditTaskStates<T> {
    const factory UploadImageError({required final String error}) =
        _$UploadImageErrorImpl<T>;
  
    String get error;
    @JsonKey(ignore: true)
    _$$UploadImageErrorImplCopyWith<T, _$UploadImageErrorImpl<T>> get copyWith =>
        throw _privateConstructorUsedError;
  }
  