// 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 'chat_component_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 _$ChatComponentState { // GlobalKey for the chat GlobalKey get chatKey => throw _privateConstructorUsedError; // ScrollController for the chat AutoScrollController get scrollController => throw _privateConstructorUsedError; // TextEditingController for the chat InputTextFieldController get textEditingController => throw _privateConstructorUsedError; // Local user User? get localUser => throw _privateConstructorUsedError; // Active remote users IMap, User> get remoteUsers => throw _privateConstructorUsedError; // Historical remote users IMap, User> get historicalRemoteUsers => throw _privateConstructorUsedError; // Unknown users IMap, User> get unknownUsers => throw _privateConstructorUsedError; // Messages state AsyncValue> get messageWindow => throw _privateConstructorUsedError; // Title of the chat String get title => throw _privateConstructorUsedError; @JsonKey(ignore: true) $ChatComponentStateCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ChatComponentStateCopyWith<$Res> { factory $ChatComponentStateCopyWith( ChatComponentState value, $Res Function(ChatComponentState) then) = _$ChatComponentStateCopyWithImpl<$Res, ChatComponentState>; @useResult $Res call( {GlobalKey chatKey, AutoScrollController scrollController, InputTextFieldController textEditingController, User? localUser, IMap, User> remoteUsers, IMap, User> historicalRemoteUsers, IMap, User> unknownUsers, AsyncValue> messageWindow, String title}); $AsyncValueCopyWith, $Res> get messageWindow; } /// @nodoc class _$ChatComponentStateCopyWithImpl<$Res, $Val extends ChatComponentState> implements $ChatComponentStateCopyWith<$Res> { _$ChatComponentStateCopyWithImpl(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? chatKey = null, Object? scrollController = null, Object? textEditingController = null, Object? localUser = freezed, Object? remoteUsers = null, Object? historicalRemoteUsers = null, Object? unknownUsers = null, Object? messageWindow = null, Object? title = null, }) { return _then(_value.copyWith( chatKey: null == chatKey ? _value.chatKey : chatKey // ignore: cast_nullable_to_non_nullable as GlobalKey, scrollController: null == scrollController ? _value.scrollController : scrollController // ignore: cast_nullable_to_non_nullable as AutoScrollController, textEditingController: null == textEditingController ? _value.textEditingController : textEditingController // ignore: cast_nullable_to_non_nullable as InputTextFieldController, localUser: freezed == localUser ? _value.localUser : localUser // ignore: cast_nullable_to_non_nullable as User?, remoteUsers: null == remoteUsers ? _value.remoteUsers : remoteUsers // ignore: cast_nullable_to_non_nullable as IMap, User>, historicalRemoteUsers: null == historicalRemoteUsers ? _value.historicalRemoteUsers : historicalRemoteUsers // ignore: cast_nullable_to_non_nullable as IMap, User>, unknownUsers: null == unknownUsers ? _value.unknownUsers : unknownUsers // ignore: cast_nullable_to_non_nullable as IMap, User>, messageWindow: null == messageWindow ? _value.messageWindow : messageWindow // ignore: cast_nullable_to_non_nullable as AsyncValue>, title: null == title ? _value.title : title // ignore: cast_nullable_to_non_nullable as String, ) as $Val); } @override @pragma('vm:prefer-inline') $AsyncValueCopyWith, $Res> get messageWindow { return $AsyncValueCopyWith, $Res>(_value.messageWindow, (value) { return _then(_value.copyWith(messageWindow: value) as $Val); }); } } /// @nodoc abstract class _$$ChatComponentStateImplCopyWith<$Res> implements $ChatComponentStateCopyWith<$Res> { factory _$$ChatComponentStateImplCopyWith(_$ChatComponentStateImpl value, $Res Function(_$ChatComponentStateImpl) then) = __$$ChatComponentStateImplCopyWithImpl<$Res>; @override @useResult $Res call( {GlobalKey chatKey, AutoScrollController scrollController, InputTextFieldController textEditingController, User? localUser, IMap, User> remoteUsers, IMap, User> historicalRemoteUsers, IMap, User> unknownUsers, AsyncValue> messageWindow, String title}); @override $AsyncValueCopyWith, $Res> get messageWindow; } /// @nodoc class __$$ChatComponentStateImplCopyWithImpl<$Res> extends _$ChatComponentStateCopyWithImpl<$Res, _$ChatComponentStateImpl> implements _$$ChatComponentStateImplCopyWith<$Res> { __$$ChatComponentStateImplCopyWithImpl(_$ChatComponentStateImpl _value, $Res Function(_$ChatComponentStateImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @override $Res call({ Object? chatKey = null, Object? scrollController = null, Object? textEditingController = null, Object? localUser = freezed, Object? remoteUsers = null, Object? historicalRemoteUsers = null, Object? unknownUsers = null, Object? messageWindow = null, Object? title = null, }) { return _then(_$ChatComponentStateImpl( chatKey: null == chatKey ? _value.chatKey : chatKey // ignore: cast_nullable_to_non_nullable as GlobalKey, scrollController: null == scrollController ? _value.scrollController : scrollController // ignore: cast_nullable_to_non_nullable as AutoScrollController, textEditingController: null == textEditingController ? _value.textEditingController : textEditingController // ignore: cast_nullable_to_non_nullable as InputTextFieldController, localUser: freezed == localUser ? _value.localUser : localUser // ignore: cast_nullable_to_non_nullable as User?, remoteUsers: null == remoteUsers ? _value.remoteUsers : remoteUsers // ignore: cast_nullable_to_non_nullable as IMap, User>, historicalRemoteUsers: null == historicalRemoteUsers ? _value.historicalRemoteUsers : historicalRemoteUsers // ignore: cast_nullable_to_non_nullable as IMap, User>, unknownUsers: null == unknownUsers ? _value.unknownUsers : unknownUsers // ignore: cast_nullable_to_non_nullable as IMap, User>, messageWindow: null == messageWindow ? _value.messageWindow : messageWindow // ignore: cast_nullable_to_non_nullable as AsyncValue>, title: null == title ? _value.title : title // ignore: cast_nullable_to_non_nullable as String, )); } } /// @nodoc class _$ChatComponentStateImpl implements _ChatComponentState { const _$ChatComponentStateImpl( {required this.chatKey, required this.scrollController, required this.textEditingController, required this.localUser, required this.remoteUsers, required this.historicalRemoteUsers, required this.unknownUsers, required this.messageWindow, required this.title}); // GlobalKey for the chat @override final GlobalKey chatKey; // ScrollController for the chat @override final AutoScrollController scrollController; // TextEditingController for the chat @override final InputTextFieldController textEditingController; // Local user @override final User? localUser; // Active remote users @override final IMap, User> remoteUsers; // Historical remote users @override final IMap, User> historicalRemoteUsers; // Unknown users @override final IMap, User> unknownUsers; // Messages state @override final AsyncValue> messageWindow; // Title of the chat @override final String title; @override String toString() { return 'ChatComponentState(chatKey: $chatKey, scrollController: $scrollController, textEditingController: $textEditingController, localUser: $localUser, remoteUsers: $remoteUsers, historicalRemoteUsers: $historicalRemoteUsers, unknownUsers: $unknownUsers, messageWindow: $messageWindow, title: $title)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ChatComponentStateImpl && (identical(other.chatKey, chatKey) || other.chatKey == chatKey) && (identical(other.scrollController, scrollController) || other.scrollController == scrollController) && (identical(other.textEditingController, textEditingController) || other.textEditingController == textEditingController) && (identical(other.localUser, localUser) || other.localUser == localUser) && (identical(other.remoteUsers, remoteUsers) || other.remoteUsers == remoteUsers) && (identical(other.historicalRemoteUsers, historicalRemoteUsers) || other.historicalRemoteUsers == historicalRemoteUsers) && (identical(other.unknownUsers, unknownUsers) || other.unknownUsers == unknownUsers) && (identical(other.messageWindow, messageWindow) || other.messageWindow == messageWindow) && (identical(other.title, title) || other.title == title)); } @override int get hashCode => Object.hash( runtimeType, chatKey, scrollController, textEditingController, localUser, remoteUsers, historicalRemoteUsers, unknownUsers, messageWindow, title); @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') _$$ChatComponentStateImplCopyWith<_$ChatComponentStateImpl> get copyWith => __$$ChatComponentStateImplCopyWithImpl<_$ChatComponentStateImpl>( this, _$identity); } abstract class _ChatComponentState implements ChatComponentState { const factory _ChatComponentState( {required final GlobalKey chatKey, required final AutoScrollController scrollController, required final InputTextFieldController textEditingController, required final User? localUser, required final IMap, User> remoteUsers, required final IMap, User> historicalRemoteUsers, required final IMap, User> unknownUsers, required final AsyncValue> messageWindow, required final String title}) = _$ChatComponentStateImpl; @override // GlobalKey for the chat GlobalKey get chatKey; @override // ScrollController for the chat AutoScrollController get scrollController; @override // TextEditingController for the chat InputTextFieldController get textEditingController; @override // Local user User? get localUser; @override // Active remote users IMap, User> get remoteUsers; @override // Historical remote users IMap, User> get historicalRemoteUsers; @override // Unknown users IMap, User> get unknownUsers; @override // Messages state AsyncValue> get messageWindow; @override // Title of the chat String get title; @override @JsonKey(ignore: true) _$$ChatComponentStateImplCopyWith<_$ChatComponentStateImpl> get copyWith => throw _privateConstructorUsedError; }