mirrored_repositories/vpec/lib/models
// 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

part of 'schedule_item.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#custom-getters-and-methods');

/// @nodoc
mixin _$ScheduleItemModel {
  int get lessonNumber => throw _privateConstructorUsedError;
  String get lessonBeginning => throw _privateConstructorUsedError;
  String get lessonEnding => throw _privateConstructorUsedError;
  String get lessonName => throw _privateConstructorUsedError;
  String get pauseAfterLesson => throw _privateConstructorUsedError;
  String? get timer => throw _privateConstructorUsedError;
  Map<String, dynamic> get teachers => throw _privateConstructorUsedError;
  Map<String, dynamic> get lessonsShortNames =>
      throw _privateConstructorUsedError;
  Map<String, dynamic> get lessonsFullNames =>
      throw _privateConstructorUsedError;

  @JsonKey(ignore: true)
  $ScheduleItemModelCopyWith<ScheduleItemModel> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $ScheduleItemModelCopyWith<$Res> {
  factory $ScheduleItemModelCopyWith(
          ScheduleItemModel value, $Res Function(ScheduleItemModel) then) =
      _$ScheduleItemModelCopyWithImpl<$Res, ScheduleItemModel>;
  @useResult
  $Res call(
      {int lessonNumber,
      String lessonBeginning,
      String lessonEnding,
      String lessonName,
      String pauseAfterLesson,
      String? timer,
      Map<String, dynamic> teachers,
      Map<String, dynamic> lessonsShortNames,
      Map<String, dynamic> lessonsFullNames});
}

/// @nodoc
class _$ScheduleItemModelCopyWithImpl<$Res, $Val extends ScheduleItemModel>
    implements $ScheduleItemModelCopyWith<$Res> {
  _$ScheduleItemModelCopyWithImpl(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? lessonNumber = null,
    Object? lessonBeginning = null,
    Object? lessonEnding = null,
    Object? lessonName = null,
    Object? pauseAfterLesson = null,
    Object? timer = freezed,
    Object? teachers = null,
    Object? lessonsShortNames = null,
    Object? lessonsFullNames = null,
  }) {
    return _then(_value.copyWith(
      lessonNumber: null == lessonNumber
          ? _value.lessonNumber
          : lessonNumber // ignore: cast_nullable_to_non_nullable
              as int,
      lessonBeginning: null == lessonBeginning
          ? _value.lessonBeginning
          : lessonBeginning // ignore: cast_nullable_to_non_nullable
              as String,
      lessonEnding: null == lessonEnding
          ? _value.lessonEnding
          : lessonEnding // ignore: cast_nullable_to_non_nullable
              as String,
      lessonName: null == lessonName
          ? _value.lessonName
          : lessonName // ignore: cast_nullable_to_non_nullable
              as String,
      pauseAfterLesson: null == pauseAfterLesson
          ? _value.pauseAfterLesson
          : pauseAfterLesson // ignore: cast_nullable_to_non_nullable
              as String,
      timer: freezed == timer
          ? _value.timer
          : timer // ignore: cast_nullable_to_non_nullable
              as String?,
      teachers: null == teachers
          ? _value.teachers
          : teachers // ignore: cast_nullable_to_non_nullable
              as Map<String, dynamic>,
      lessonsShortNames: null == lessonsShortNames
          ? _value.lessonsShortNames
          : lessonsShortNames // ignore: cast_nullable_to_non_nullable
              as Map<String, dynamic>,
      lessonsFullNames: null == lessonsFullNames
          ? _value.lessonsFullNames
          : lessonsFullNames // ignore: cast_nullable_to_non_nullable
              as Map<String, dynamic>,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$_ScheduleItemModelCopyWith<$Res>
    implements $ScheduleItemModelCopyWith<$Res> {
  factory _$$_ScheduleItemModelCopyWith(_$_ScheduleItemModel value,
          $Res Function(_$_ScheduleItemModel) then) =
      __$$_ScheduleItemModelCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call(
      {int lessonNumber,
      String lessonBeginning,
      String lessonEnding,
      String lessonName,
      String pauseAfterLesson,
      String? timer,
      Map<String, dynamic> teachers,
      Map<String, dynamic> lessonsShortNames,
      Map<String, dynamic> lessonsFullNames});
}

/// @nodoc
class __$$_ScheduleItemModelCopyWithImpl<$Res>
    extends _$ScheduleItemModelCopyWithImpl<$Res, _$_ScheduleItemModel>
    implements _$$_ScheduleItemModelCopyWith<$Res> {
  __$$_ScheduleItemModelCopyWithImpl(
      _$_ScheduleItemModel _value, $Res Function(_$_ScheduleItemModel) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? lessonNumber = null,
    Object? lessonBeginning = null,
    Object? lessonEnding = null,
    Object? lessonName = null,
    Object? pauseAfterLesson = null,
    Object? timer = freezed,
    Object? teachers = null,
    Object? lessonsShortNames = null,
    Object? lessonsFullNames = null,
  }) {
    return _then(_$_ScheduleItemModel(
      lessonNumber: null == lessonNumber
          ? _value.lessonNumber
          : lessonNumber // ignore: cast_nullable_to_non_nullable
              as int,
      lessonBeginning: null == lessonBeginning
          ? _value.lessonBeginning
          : lessonBeginning // ignore: cast_nullable_to_non_nullable
              as String,
      lessonEnding: null == lessonEnding
          ? _value.lessonEnding
          : lessonEnding // ignore: cast_nullable_to_non_nullable
              as String,
      lessonName: null == lessonName
          ? _value.lessonName
          : lessonName // ignore: cast_nullable_to_non_nullable
              as String,
      pauseAfterLesson: null == pauseAfterLesson
          ? _value.pauseAfterLesson
          : pauseAfterLesson // ignore: cast_nullable_to_non_nullable
              as String,
      timer: freezed == timer
          ? _value.timer
          : timer // ignore: cast_nullable_to_non_nullable
              as String?,
      teachers: null == teachers
          ? _value._teachers
          : teachers // ignore: cast_nullable_to_non_nullable
              as Map<String, dynamic>,
      lessonsShortNames: null == lessonsShortNames
          ? _value._lessonsShortNames
          : lessonsShortNames // ignore: cast_nullable_to_non_nullable
              as Map<String, dynamic>,
      lessonsFullNames: null == lessonsFullNames
          ? _value._lessonsFullNames
          : lessonsFullNames // ignore: cast_nullable_to_non_nullable
              as Map<String, dynamic>,
    ));
  }
}

/// @nodoc

class _$_ScheduleItemModel implements _ScheduleItemModel {
  const _$_ScheduleItemModel(
      {required this.lessonNumber,
      required this.lessonBeginning,
      required this.lessonEnding,
      required this.lessonName,
      required this.pauseAfterLesson,
      this.timer,
      required final Map<String, dynamic> teachers,
      required final Map<String, dynamic> lessonsShortNames,
      required final Map<String, dynamic> lessonsFullNames})
      : _teachers = teachers,
        _lessonsShortNames = lessonsShortNames,
        _lessonsFullNames = lessonsFullNames;

  @override
  final int lessonNumber;
  @override
  final String lessonBeginning;
  @override
  final String lessonEnding;
  @override
  final String lessonName;
  @override
  final String pauseAfterLesson;
  @override
  final String? timer;
  final Map<String, dynamic> _teachers;
  @override
  Map<String, dynamic> get teachers {
    // ignore: implicit_dynamic_type
    return EqualUnmodifiableMapView(_teachers);
  }

  final Map<String, dynamic> _lessonsShortNames;
  @override
  Map<String, dynamic> get lessonsShortNames {
    // ignore: implicit_dynamic_type
    return EqualUnmodifiableMapView(_lessonsShortNames);
  }

  final Map<String, dynamic> _lessonsFullNames;
  @override
  Map<String, dynamic> get lessonsFullNames {
    // ignore: implicit_dynamic_type
    return EqualUnmodifiableMapView(_lessonsFullNames);
  }

  @override
  String toString() {
    return 'ScheduleItemModel(lessonNumber: $lessonNumber, lessonBeginning: $lessonBeginning, lessonEnding: $lessonEnding, lessonName: $lessonName, pauseAfterLesson: $pauseAfterLesson, timer: $timer, teachers: $teachers, lessonsShortNames: $lessonsShortNames, lessonsFullNames: $lessonsFullNames)';
  }

  @override
  bool operator ==(dynamic other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$_ScheduleItemModel &&
            (identical(other.lessonNumber, lessonNumber) ||
                other.lessonNumber == lessonNumber) &&
            (identical(other.lessonBeginning, lessonBeginning) ||
                other.lessonBeginning == lessonBeginning) &&
            (identical(other.lessonEnding, lessonEnding) ||
                other.lessonEnding == lessonEnding) &&
            (identical(other.lessonName, lessonName) ||
                other.lessonName == lessonName) &&
            (identical(other.pauseAfterLesson, pauseAfterLesson) ||
                other.pauseAfterLesson == pauseAfterLesson) &&
            (identical(other.timer, timer) || other.timer == timer) &&
            const DeepCollectionEquality().equals(other._teachers, _teachers) &&
            const DeepCollectionEquality()
                .equals(other._lessonsShortNames, _lessonsShortNames) &&
            const DeepCollectionEquality()
                .equals(other._lessonsFullNames, _lessonsFullNames));
  }

  @override
  int get hashCode => Object.hash(
      runtimeType,
      lessonNumber,
      lessonBeginning,
      lessonEnding,
      lessonName,
      pauseAfterLesson,
      timer,
      const DeepCollectionEquality().hash(_teachers),
      const DeepCollectionEquality().hash(_lessonsShortNames),
      const DeepCollectionEquality().hash(_lessonsFullNames));

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$_ScheduleItemModelCopyWith<_$_ScheduleItemModel> get copyWith =>
      __$$_ScheduleItemModelCopyWithImpl<_$_ScheduleItemModel>(
          this, _$identity);
}

abstract class _ScheduleItemModel implements ScheduleItemModel {
  const factory _ScheduleItemModel(
          {required final int lessonNumber,
          required final String lessonBeginning,
          required final String lessonEnding,
          required final String lessonName,
          required final String pauseAfterLesson,
          final String? timer,
          required final Map<String, dynamic> teachers,
          required final Map<String, dynamic> lessonsShortNames,
          required final Map<String, dynamic> lessonsFullNames}) =
      _$_ScheduleItemModel;

  @override
  int get lessonNumber;
  @override
  String get lessonBeginning;
  @override
  String get lessonEnding;
  @override
  String get lessonName;
  @override
  String get pauseAfterLesson;
  @override
  String? get timer;
  @override
  Map<String, dynamic> get teachers;
  @override
  Map<String, dynamic> get lessonsShortNames;
  @override
  Map<String, dynamic> get lessonsFullNames;
  @override
  @JsonKey(ignore: true)
  _$$_ScheduleItemModelCopyWith<_$_ScheduleItemModel> get copyWith =>
      throw _privateConstructorUsedError;
}
