// 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 'window_state.dart'; // ************************************************************************** // FreezedGenerator // ************************************************************************** T _$identity(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 _$WindowState { // List of objects in the window IList get window => throw _privateConstructorUsedError; // Total number of objects (windowTail max) int get length => throw _privateConstructorUsedError; // One past the end of the last element int get windowTail => throw _privateConstructorUsedError; // The total number of elements to try to keep in the window int get windowCount => throw _privateConstructorUsedError; // If we should have the tail following the array bool get follow => throw _privateConstructorUsedError; @JsonKey(ignore: true) $WindowStateCopyWith> get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $WindowStateCopyWith { factory $WindowStateCopyWith( WindowState value, $Res Function(WindowState) then) = _$WindowStateCopyWithImpl>; @useResult $Res call( {IList window, int length, int windowTail, int windowCount, bool follow}); } /// @nodoc class _$WindowStateCopyWithImpl> implements $WindowStateCopyWith { _$WindowStateCopyWithImpl(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? window = null, Object? length = null, Object? windowTail = null, Object? windowCount = null, Object? follow = null, }) { return _then(_value.copyWith( window: null == window ? _value.window : window // ignore: cast_nullable_to_non_nullable as IList, length: null == length ? _value.length : length // ignore: cast_nullable_to_non_nullable as int, windowTail: null == windowTail ? _value.windowTail : windowTail // ignore: cast_nullable_to_non_nullable as int, windowCount: null == windowCount ? _value.windowCount : windowCount // ignore: cast_nullable_to_non_nullable as int, follow: null == follow ? _value.follow : follow // ignore: cast_nullable_to_non_nullable as bool, ) as $Val); } } /// @nodoc abstract class _$$WindowStateImplCopyWith implements $WindowStateCopyWith { factory _$$WindowStateImplCopyWith(_$WindowStateImpl value, $Res Function(_$WindowStateImpl) then) = __$$WindowStateImplCopyWithImpl; @override @useResult $Res call( {IList window, int length, int windowTail, int windowCount, bool follow}); } /// @nodoc class __$$WindowStateImplCopyWithImpl extends _$WindowStateCopyWithImpl> implements _$$WindowStateImplCopyWith { __$$WindowStateImplCopyWithImpl( _$WindowStateImpl _value, $Res Function(_$WindowStateImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @override $Res call({ Object? window = null, Object? length = null, Object? windowTail = null, Object? windowCount = null, Object? follow = null, }) { return _then(_$WindowStateImpl( window: null == window ? _value.window : window // ignore: cast_nullable_to_non_nullable as IList, length: null == length ? _value.length : length // ignore: cast_nullable_to_non_nullable as int, windowTail: null == windowTail ? _value.windowTail : windowTail // ignore: cast_nullable_to_non_nullable as int, windowCount: null == windowCount ? _value.windowCount : windowCount // ignore: cast_nullable_to_non_nullable as int, follow: null == follow ? _value.follow : follow // ignore: cast_nullable_to_non_nullable as bool, )); } } /// @nodoc class _$WindowStateImpl with DiagnosticableTreeMixin implements _WindowState { const _$WindowStateImpl( {required this.window, required this.length, required this.windowTail, required this.windowCount, required this.follow}); // List of objects in the window @override final IList window; // Total number of objects (windowTail max) @override final int length; // One past the end of the last element @override final int windowTail; // The total number of elements to try to keep in the window @override final int windowCount; // If we should have the tail following the array @override final bool follow; @override String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) { return 'WindowState<$T>(window: $window, length: $length, windowTail: $windowTail, windowCount: $windowCount, follow: $follow)'; } @override void debugFillProperties(DiagnosticPropertiesBuilder properties) { super.debugFillProperties(properties); properties ..add(DiagnosticsProperty('type', 'WindowState<$T>')) ..add(DiagnosticsProperty('window', window)) ..add(DiagnosticsProperty('length', length)) ..add(DiagnosticsProperty('windowTail', windowTail)) ..add(DiagnosticsProperty('windowCount', windowCount)) ..add(DiagnosticsProperty('follow', follow)); } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$WindowStateImpl && const DeepCollectionEquality().equals(other.window, window) && (identical(other.length, length) || other.length == length) && (identical(other.windowTail, windowTail) || other.windowTail == windowTail) && (identical(other.windowCount, windowCount) || other.windowCount == windowCount) && (identical(other.follow, follow) || other.follow == follow)); } @override int get hashCode => Object.hash( runtimeType, const DeepCollectionEquality().hash(window), length, windowTail, windowCount, follow); @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') _$$WindowStateImplCopyWith> get copyWith => __$$WindowStateImplCopyWithImpl>( this, _$identity); } abstract class _WindowState implements WindowState { const factory _WindowState( {required final IList window, required final int length, required final int windowTail, required final int windowCount, required final bool follow}) = _$WindowStateImpl; @override // List of objects in the window IList get window; @override // Total number of objects (windowTail max) int get length; @override // One past the end of the last element int get windowTail; @override // The total number of elements to try to keep in the window int get windowCount; @override // If we should have the tail following the array bool get follow; @override @JsonKey(ignore: true) _$$WindowStateImplCopyWith> get copyWith => throw _privateConstructorUsedError; }