// 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 'signal_message.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', ); SignalMessage _$SignalMessageFromJson(Map json) { return _SignalMessage.fromJson(json); } /// @nodoc mixin _$SignalMessage { String? get type => throw _privateConstructorUsedError; String? get fromDeviceId => throw _privateConstructorUsedError; String? get toDeviceId => throw _privateConstructorUsedError; String? get deviceType => throw _privateConstructorUsedError; String? get payload => throw _privateConstructorUsedError; String? get authType => throw _privateConstructorUsedError; String? get authValue => throw _privateConstructorUsedError; /// Serializes this SignalMessage to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of SignalMessage /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $SignalMessageCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $SignalMessageCopyWith<$Res> { factory $SignalMessageCopyWith( SignalMessage value, $Res Function(SignalMessage) then, ) = _$SignalMessageCopyWithImpl<$Res, SignalMessage>; @useResult $Res call({ String? type, String? fromDeviceId, String? toDeviceId, String? deviceType, String? payload, String? authType, String? authValue, }); } /// @nodoc class _$SignalMessageCopyWithImpl<$Res, $Val extends SignalMessage> implements $SignalMessageCopyWith<$Res> { _$SignalMessageCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of SignalMessage /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? type = freezed, Object? fromDeviceId = freezed, Object? toDeviceId = freezed, Object? deviceType = freezed, Object? payload = freezed, Object? authType = freezed, Object? authValue = freezed, }) { return _then( _value.copyWith( type: freezed == type ? _value.type : type // ignore: cast_nullable_to_non_nullable as String?, fromDeviceId: freezed == fromDeviceId ? _value.fromDeviceId : fromDeviceId // ignore: cast_nullable_to_non_nullable as String?, toDeviceId: freezed == toDeviceId ? _value.toDeviceId : toDeviceId // ignore: cast_nullable_to_non_nullable as String?, deviceType: freezed == deviceType ? _value.deviceType : deviceType // ignore: cast_nullable_to_non_nullable as String?, payload: freezed == payload ? _value.payload : payload // ignore: cast_nullable_to_non_nullable as String?, authType: freezed == authType ? _value.authType : authType // ignore: cast_nullable_to_non_nullable as String?, authValue: freezed == authValue ? _value.authValue : authValue // ignore: cast_nullable_to_non_nullable as String?, ) as $Val, ); } } /// @nodoc abstract class _$$SignalMessageImplCopyWith<$Res> implements $SignalMessageCopyWith<$Res> { factory _$$SignalMessageImplCopyWith( _$SignalMessageImpl value, $Res Function(_$SignalMessageImpl) then, ) = __$$SignalMessageImplCopyWithImpl<$Res>; @override @useResult $Res call({ String? type, String? fromDeviceId, String? toDeviceId, String? deviceType, String? payload, String? authType, String? authValue, }); } /// @nodoc class __$$SignalMessageImplCopyWithImpl<$Res> extends _$SignalMessageCopyWithImpl<$Res, _$SignalMessageImpl> implements _$$SignalMessageImplCopyWith<$Res> { __$$SignalMessageImplCopyWithImpl( _$SignalMessageImpl _value, $Res Function(_$SignalMessageImpl) _then, ) : super(_value, _then); /// Create a copy of SignalMessage /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? type = freezed, Object? fromDeviceId = freezed, Object? toDeviceId = freezed, Object? deviceType = freezed, Object? payload = freezed, Object? authType = freezed, Object? authValue = freezed, }) { return _then( _$SignalMessageImpl( type: freezed == type ? _value.type : type // ignore: cast_nullable_to_non_nullable as String?, fromDeviceId: freezed == fromDeviceId ? _value.fromDeviceId : fromDeviceId // ignore: cast_nullable_to_non_nullable as String?, toDeviceId: freezed == toDeviceId ? _value.toDeviceId : toDeviceId // ignore: cast_nullable_to_non_nullable as String?, deviceType: freezed == deviceType ? _value.deviceType : deviceType // ignore: cast_nullable_to_non_nullable as String?, payload: freezed == payload ? _value.payload : payload // ignore: cast_nullable_to_non_nullable as String?, authType: freezed == authType ? _value.authType : authType // ignore: cast_nullable_to_non_nullable as String?, authValue: freezed == authValue ? _value.authValue : authValue // ignore: cast_nullable_to_non_nullable as String?, ), ); } } /// @nodoc @JsonSerializable() class _$SignalMessageImpl extends _SignalMessage { const _$SignalMessageImpl({ this.type, this.fromDeviceId, this.toDeviceId, this.deviceType, this.payload, this.authType, this.authValue, }) : super._(); factory _$SignalMessageImpl.fromJson(Map json) => _$$SignalMessageImplFromJson(json); @override final String? type; @override final String? fromDeviceId; @override final String? toDeviceId; @override final String? deviceType; @override final String? payload; @override final String? authType; @override final String? authValue; @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SignalMessageImpl && (identical(other.type, type) || other.type == type) && (identical(other.fromDeviceId, fromDeviceId) || other.fromDeviceId == fromDeviceId) && (identical(other.toDeviceId, toDeviceId) || other.toDeviceId == toDeviceId) && (identical(other.deviceType, deviceType) || other.deviceType == deviceType) && (identical(other.payload, payload) || other.payload == payload) && (identical(other.authType, authType) || other.authType == authType) && (identical(other.authValue, authValue) || other.authValue == authValue)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, type, fromDeviceId, toDeviceId, deviceType, payload, authType, authValue, ); /// Create a copy of SignalMessage /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$SignalMessageImplCopyWith<_$SignalMessageImpl> get copyWith => __$$SignalMessageImplCopyWithImpl<_$SignalMessageImpl>(this, _$identity); @override Map toJson() { return _$$SignalMessageImplToJson(this); } } abstract class _SignalMessage extends SignalMessage { const factory _SignalMessage({ final String? type, final String? fromDeviceId, final String? toDeviceId, final String? deviceType, final String? payload, final String? authType, final String? authValue, }) = _$SignalMessageImpl; const _SignalMessage._() : super._(); factory _SignalMessage.fromJson(Map json) = _$SignalMessageImpl.fromJson; @override String? get type; @override String? get fromDeviceId; @override String? get toDeviceId; @override String? get deviceType; @override String? get payload; @override String? get authType; @override String? get authValue; /// Create a copy of SignalMessage /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$SignalMessageImplCopyWith<_$SignalMessageImpl> get copyWith => throw _privateConstructorUsedError; }