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 'failure.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');
  
  ServerFailure _$ServerFailureFromJson(Map<String, dynamic> json) {
    return _ServerFailure.fromJson(json);
  }
  
  /// @nodoc
  mixin _$ServerFailure {
    String? get message => throw _privateConstructorUsedError;
    String? get documentationUrl => throw _privateConstructorUsedError;
    List<ServerError>? get errors => throw _privateConstructorUsedError;
  
    Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
    @JsonKey(ignore: true)
    $ServerFailureCopyWith<ServerFailure> get copyWith =>
        throw _privateConstructorUsedError;
  }
  
  /// @nodoc
  abstract class $ServerFailureCopyWith<$Res> {
    factory $ServerFailureCopyWith(
            ServerFailure value, $Res Function(ServerFailure) then) =
        _$ServerFailureCopyWithImpl<$Res, ServerFailure>;
    @useResult
    $Res call(
        {String? message, String? documentationUrl, List<ServerError>? errors});
  }
  
  /// @nodoc
  class _$ServerFailureCopyWithImpl<$Res, $Val extends ServerFailure>
      implements $ServerFailureCopyWith<$Res> {
    _$ServerFailureCopyWithImpl(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? message = freezed,
      Object? documentationUrl = freezed,
      Object? errors = freezed,
    }) {
      return _then(_value.copyWith(
        message: freezed == message
            ? _value.message
            : message // ignore: cast_nullable_to_non_nullable
                as String?,
        documentationUrl: freezed == documentationUrl
            ? _value.documentationUrl
            : documentationUrl // ignore: cast_nullable_to_non_nullable
                as String?,
        errors: freezed == errors
            ? _value.errors
            : errors // ignore: cast_nullable_to_non_nullable
                as List<ServerError>?,
      ) as $Val);
    }
  }
  
  /// @nodoc
  abstract class _$$ServerFailureImplCopyWith<$Res>
      implements $ServerFailureCopyWith<$Res> {
    factory _$$ServerFailureImplCopyWith(
            _$ServerFailureImpl value, $Res Function(_$ServerFailureImpl) then) =
        __$$ServerFailureImplCopyWithImpl<$Res>;
    @override
    @useResult
    $Res call(
        {String? message, String? documentationUrl, List<ServerError>? errors});
  }
  
  /// @nodoc
  class __$$ServerFailureImplCopyWithImpl<$Res>
      extends _$ServerFailureCopyWithImpl<$Res, _$ServerFailureImpl>
      implements _$$ServerFailureImplCopyWith<$Res> {
    __$$ServerFailureImplCopyWithImpl(
        _$ServerFailureImpl _value, $Res Function(_$ServerFailureImpl) _then)
        : super(_value, _then);
  
    @pragma('vm:prefer-inline')
    @override
    $Res call({
      Object? message = freezed,
      Object? documentationUrl = freezed,
      Object? errors = freezed,
    }) {
      return _then(_$ServerFailureImpl(
        message: freezed == message
            ? _value.message
            : message // ignore: cast_nullable_to_non_nullable
                as String?,
        documentationUrl: freezed == documentationUrl
            ? _value.documentationUrl
            : documentationUrl // ignore: cast_nullable_to_non_nullable
                as String?,
        errors: freezed == errors
            ? _value._errors
            : errors // ignore: cast_nullable_to_non_nullable
                as List<ServerError>?,
      ));
    }
  }
  
  /// @nodoc
  @JsonSerializable()
  class _$ServerFailureImpl extends _ServerFailure {
    const _$ServerFailureImpl(
        {this.message, this.documentationUrl, final List<ServerError>? errors})
        : _errors = errors,
          super._();
  
    factory _$ServerFailureImpl.fromJson(Map<String, dynamic> json) =>
        _$$ServerFailureImplFromJson(json);
  
    @override
    final String? message;
    @override
    final String? documentationUrl;
    final List<ServerError>? _errors;
    @override
    List<ServerError>? get errors {
      final value = _errors;
      if (value == null) return null;
      if (_errors is EqualUnmodifiableListView) return _errors;
      // ignore: implicit_dynamic_type
      return EqualUnmodifiableListView(value);
    }
  
    @JsonKey(ignore: true)
    @override
    @pragma('vm:prefer-inline')
    _$$ServerFailureImplCopyWith<_$ServerFailureImpl> get copyWith =>
        __$$ServerFailureImplCopyWithImpl<_$ServerFailureImpl>(this, _$identity);
  
    @override
    Map<String, dynamic> toJson() {
      return _$$ServerFailureImplToJson(
        this,
      );
    }
  }
  
  abstract class _ServerFailure extends ServerFailure {
    const factory _ServerFailure(
        {final String? message,
        final String? documentationUrl,
        final List<ServerError>? errors}) = _$ServerFailureImpl;
    const _ServerFailure._() : super._();
  
    factory _ServerFailure.fromJson(Map<String, dynamic> json) =
        _$ServerFailureImpl.fromJson;
  
    @override
    String? get message;
    @override
    String? get documentationUrl;
    @override
    List<ServerError>? get errors;
    @override
    @JsonKey(ignore: true)
    _$$ServerFailureImplCopyWith<_$ServerFailureImpl> get copyWith =>
        throw _privateConstructorUsedError;
  }
  
  ServerError _$ServerErrorFromJson(Map<String, dynamic> json) {
    return _ServerError.fromJson(json);
  }
  
  /// @nodoc
  mixin _$ServerError {
    String? get code => throw _privateConstructorUsedError;
    String? get message => throw _privateConstructorUsedError;
    String? get field => throw _privateConstructorUsedError;
    String? get resource => throw _privateConstructorUsedError;
  
    Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
    @JsonKey(ignore: true)
    $ServerErrorCopyWith<ServerError> get copyWith =>
        throw _privateConstructorUsedError;
  }
  
  /// @nodoc
  abstract class $ServerErrorCopyWith<$Res> {
    factory $ServerErrorCopyWith(
            ServerError value, $Res Function(ServerError) then) =
        _$ServerErrorCopyWithImpl<$Res, ServerError>;
    @useResult
    $Res call({String? code, String? message, String? field, String? resource});
  }
  
  /// @nodoc
  class _$ServerErrorCopyWithImpl<$Res, $Val extends ServerError>
      implements $ServerErrorCopyWith<$Res> {
    _$ServerErrorCopyWithImpl(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? code = freezed,
      Object? message = freezed,
      Object? field = freezed,
      Object? resource = freezed,
    }) {
      return _then(_value.copyWith(
        code: freezed == code
            ? _value.code
            : code // ignore: cast_nullable_to_non_nullable
                as String?,
        message: freezed == message
            ? _value.message
            : message // ignore: cast_nullable_to_non_nullable
                as String?,
        field: freezed == field
            ? _value.field
            : field // ignore: cast_nullable_to_non_nullable
                as String?,
        resource: freezed == resource
            ? _value.resource
            : resource // ignore: cast_nullable_to_non_nullable
                as String?,
      ) as $Val);
    }
  }
  
  /// @nodoc
  abstract class _$$ServerErrorImplCopyWith<$Res>
      implements $ServerErrorCopyWith<$Res> {
    factory _$$ServerErrorImplCopyWith(
            _$ServerErrorImpl value, $Res Function(_$ServerErrorImpl) then) =
        __$$ServerErrorImplCopyWithImpl<$Res>;
    @override
    @useResult
    $Res call({String? code, String? message, String? field, String? resource});
  }
  
  /// @nodoc
  class __$$ServerErrorImplCopyWithImpl<$Res>
      extends _$ServerErrorCopyWithImpl<$Res, _$ServerErrorImpl>
      implements _$$ServerErrorImplCopyWith<$Res> {
    __$$ServerErrorImplCopyWithImpl(
        _$ServerErrorImpl _value, $Res Function(_$ServerErrorImpl) _then)
        : super(_value, _then);
  
    @pragma('vm:prefer-inline')
    @override
    $Res call({
      Object? code = freezed,
      Object? message = freezed,
      Object? field = freezed,
      Object? resource = freezed,
    }) {
      return _then(_$ServerErrorImpl(
        code: freezed == code
            ? _value.code
            : code // ignore: cast_nullable_to_non_nullable
                as String?,
        message: freezed == message
            ? _value.message
            : message // ignore: cast_nullable_to_non_nullable
                as String?,
        field: freezed == field
            ? _value.field
            : field // ignore: cast_nullable_to_non_nullable
                as String?,
        resource: freezed == resource
            ? _value.resource
            : resource // ignore: cast_nullable_to_non_nullable
                as String?,
      ));
    }
  }
  
  /// @nodoc
  @JsonSerializable()
  class _$ServerErrorImpl extends _ServerError {
    const _$ServerErrorImpl({this.code, this.message, this.field, this.resource})
        : super._();
  
    factory _$ServerErrorImpl.fromJson(Map<String, dynamic> json) =>
        _$$ServerErrorImplFromJson(json);
  
    @override
    final String? code;
    @override
    final String? message;
    @override
    final String? field;
    @override
    final String? resource;
  
    @override
    String toString() {
      return 'ServerError(code: $code, message: $message, field: $field, resource: $resource)';
    }
  
    @override
    bool operator ==(Object other) {
      return identical(this, other) ||
          (other.runtimeType == runtimeType &&
              other is _$ServerErrorImpl &&
              (identical(other.code, code) || other.code == code) &&
              (identical(other.message, message) || other.message == message) &&
              (identical(other.field, field) || other.field == field) &&
              (identical(other.resource, resource) ||
                  other.resource == resource));
    }
  
    @JsonKey(ignore: true)
    @override
    int get hashCode => Object.hash(runtimeType, code, message, field, resource);
  
    @JsonKey(ignore: true)
    @override
    @pragma('vm:prefer-inline')
    _$$ServerErrorImplCopyWith<_$ServerErrorImpl> get copyWith =>
        __$$ServerErrorImplCopyWithImpl<_$ServerErrorImpl>(this, _$identity);
  
    @override
    Map<String, dynamic> toJson() {
      return _$$ServerErrorImplToJson(
        this,
      );
    }
  }
  
  abstract class _ServerError extends ServerError {
    const factory _ServerError(
        {final String? code,
        final String? message,
        final String? field,
        final String? resource}) = _$ServerErrorImpl;
    const _ServerError._() : super._();
  
    factory _ServerError.fromJson(Map<String, dynamic> json) =
        _$ServerErrorImpl.fromJson;
  
    @override
    String? get code;
    @override
    String? get message;
    @override
    String? get field;
    @override
    String? get resource;
    @override
    @JsonKey(ignore: true)
    _$$ServerErrorImplCopyWith<_$ServerErrorImpl> get copyWith =>
        throw _privateConstructorUsedError;
  }
  