// 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 '../version.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'); VersionInfo _$VersionInfoFromJson(Map json) { return _VersionInfo.fromJson(json); } /// @nodoc mixin _$VersionInfo { String get clashName => throw _privateConstructorUsedError; String get version => throw _privateConstructorUsedError; Map toJson() => throw _privateConstructorUsedError; @JsonKey(ignore: true) $VersionInfoCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $VersionInfoCopyWith<$Res> { factory $VersionInfoCopyWith( VersionInfo value, $Res Function(VersionInfo) then) = _$VersionInfoCopyWithImpl<$Res, VersionInfo>; @useResult $Res call({String clashName, String version}); } /// @nodoc class _$VersionInfoCopyWithImpl<$Res, $Val extends VersionInfo> implements $VersionInfoCopyWith<$Res> { _$VersionInfoCopyWithImpl(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? clashName = null, Object? version = null, }) { return _then(_value.copyWith( clashName: null == clashName ? _value.clashName : clashName // ignore: cast_nullable_to_non_nullable as String, version: null == version ? _value.version : version // ignore: cast_nullable_to_non_nullable as String, ) as $Val); } } /// @nodoc abstract class _$$VersionInfoImplCopyWith<$Res> implements $VersionInfoCopyWith<$Res> { factory _$$VersionInfoImplCopyWith( _$VersionInfoImpl value, $Res Function(_$VersionInfoImpl) then) = __$$VersionInfoImplCopyWithImpl<$Res>; @override @useResult $Res call({String clashName, String version}); } /// @nodoc class __$$VersionInfoImplCopyWithImpl<$Res> extends _$VersionInfoCopyWithImpl<$Res, _$VersionInfoImpl> implements _$$VersionInfoImplCopyWith<$Res> { __$$VersionInfoImplCopyWithImpl( _$VersionInfoImpl _value, $Res Function(_$VersionInfoImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @override $Res call({ Object? clashName = null, Object? version = null, }) { return _then(_$VersionInfoImpl( clashName: null == clashName ? _value.clashName : clashName // ignore: cast_nullable_to_non_nullable as String, version: null == version ? _value.version : version // ignore: cast_nullable_to_non_nullable as String, )); } } /// @nodoc @JsonSerializable() class _$VersionInfoImpl implements _VersionInfo { const _$VersionInfoImpl({this.clashName = "", this.version = ""}); factory _$VersionInfoImpl.fromJson(Map json) => _$$VersionInfoImplFromJson(json); @override @JsonKey() final String clashName; @override @JsonKey() final String version; @override String toString() { return 'VersionInfo(clashName: $clashName, version: $version)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$VersionInfoImpl && (identical(other.clashName, clashName) || other.clashName == clashName) && (identical(other.version, version) || other.version == version)); } @JsonKey(ignore: true) @override int get hashCode => Object.hash(runtimeType, clashName, version); @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') _$$VersionInfoImplCopyWith<_$VersionInfoImpl> get copyWith => __$$VersionInfoImplCopyWithImpl<_$VersionInfoImpl>(this, _$identity); @override Map toJson() { return _$$VersionInfoImplToJson( this, ); } } abstract class _VersionInfo implements VersionInfo { const factory _VersionInfo({final String clashName, final String version}) = _$VersionInfoImpl; factory _VersionInfo.fromJson(Map json) = _$VersionInfoImpl.fromJson; @override String get clashName; @override String get version; @override @JsonKey(ignore: true) _$$VersionInfoImplCopyWith<_$VersionInfoImpl> get copyWith => throw _privateConstructorUsedError; }