// 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 'refresh_token_request.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'); RefreshTokenRequest _$RefreshTokenRequestFromJson(Map json) { return _RefreshTokenRequest.fromJson(json); } /// @nodoc mixin _$RefreshTokenRequest { @JsonKey(name: 'refresh_token') String get refreshToken => throw _privateConstructorUsedError; /// Serializes this RefreshTokenRequest to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of RefreshTokenRequest /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $RefreshTokenRequestCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $RefreshTokenRequestCopyWith<$Res> { factory $RefreshTokenRequestCopyWith( RefreshTokenRequest value, $Res Function(RefreshTokenRequest) then) = _$RefreshTokenRequestCopyWithImpl<$Res, RefreshTokenRequest>; @useResult $Res call({@JsonKey(name: 'refresh_token') String refreshToken}); } /// @nodoc class _$RefreshTokenRequestCopyWithImpl<$Res, $Val extends RefreshTokenRequest> implements $RefreshTokenRequestCopyWith<$Res> { _$RefreshTokenRequestCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of RefreshTokenRequest /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? refreshToken = null, }) { return _then(_value.copyWith( refreshToken: null == refreshToken ? _value.refreshToken : refreshToken // ignore: cast_nullable_to_non_nullable as String, ) as $Val); } } /// @nodoc abstract class _$$RefreshTokenRequestImplCopyWith<$Res> implements $RefreshTokenRequestCopyWith<$Res> { factory _$$RefreshTokenRequestImplCopyWith(_$RefreshTokenRequestImpl value, $Res Function(_$RefreshTokenRequestImpl) then) = __$$RefreshTokenRequestImplCopyWithImpl<$Res>; @override @useResult $Res call({@JsonKey(name: 'refresh_token') String refreshToken}); } /// @nodoc class __$$RefreshTokenRequestImplCopyWithImpl<$Res> extends _$RefreshTokenRequestCopyWithImpl<$Res, _$RefreshTokenRequestImpl> implements _$$RefreshTokenRequestImplCopyWith<$Res> { __$$RefreshTokenRequestImplCopyWithImpl(_$RefreshTokenRequestImpl _value, $Res Function(_$RefreshTokenRequestImpl) _then) : super(_value, _then); /// Create a copy of RefreshTokenRequest /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? refreshToken = null, }) { return _then(_$RefreshTokenRequestImpl( refreshToken: null == refreshToken ? _value.refreshToken : refreshToken // ignore: cast_nullable_to_non_nullable as String, )); } } /// @nodoc @JsonSerializable() class _$RefreshTokenRequestImpl implements _RefreshTokenRequest { const _$RefreshTokenRequestImpl( {@JsonKey(name: 'refresh_token') required this.refreshToken}); factory _$RefreshTokenRequestImpl.fromJson(Map json) => _$$RefreshTokenRequestImplFromJson(json); @override @JsonKey(name: 'refresh_token') final String refreshToken; @override String toString() { return 'RefreshTokenRequest(refreshToken: $refreshToken)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$RefreshTokenRequestImpl && (identical(other.refreshToken, refreshToken) || other.refreshToken == refreshToken)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, refreshToken); /// Create a copy of RefreshTokenRequest /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$RefreshTokenRequestImplCopyWith<_$RefreshTokenRequestImpl> get copyWith => __$$RefreshTokenRequestImplCopyWithImpl<_$RefreshTokenRequestImpl>( this, _$identity); @override Map toJson() { return _$$RefreshTokenRequestImplToJson( this, ); } } abstract class _RefreshTokenRequest implements RefreshTokenRequest { const factory _RefreshTokenRequest( {@JsonKey(name: 'refresh_token') required final String refreshToken}) = _$RefreshTokenRequestImpl; factory _RefreshTokenRequest.fromJson(Map json) = _$RefreshTokenRequestImpl.fromJson; @override @JsonKey(name: 'refresh_token') String get refreshToken; /// Create a copy of RefreshTokenRequest /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$RefreshTokenRequestImplCopyWith<_$RefreshTokenRequestImpl> get copyWith => throw _privateConstructorUsedError; }