Files
superport/lib/data/models/auth/logout_request.freezed.dart
JiWoong Sul c573096d84 feat: API 인증 시스템 구현 및 로그인 화면 연동
- AuthService, AuthRemoteDataSource 구현
- JWT 토큰 관리 (SecureStorage 사용)
- 로그인 화면 API 연동 및 에러 처리
- freezed 패키지로 Auth 관련 DTO 모델 생성
- 의존성 주입 설정 업데이트
2025-07-24 15:14:53 +09:00

172 lines
5.7 KiB
Dart

// 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 'logout_request.dart';
// **************************************************************************
// FreezedGenerator
// **************************************************************************
T _$identity<T>(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');
LogoutRequest _$LogoutRequestFromJson(Map<String, dynamic> json) {
return _LogoutRequest.fromJson(json);
}
/// @nodoc
mixin _$LogoutRequest {
@JsonKey(name: 'refresh_token')
String get refreshToken => throw _privateConstructorUsedError;
/// Serializes this LogoutRequest to a JSON map.
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
/// Create a copy of LogoutRequest
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$LogoutRequestCopyWith<LogoutRequest> get copyWith =>
throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $LogoutRequestCopyWith<$Res> {
factory $LogoutRequestCopyWith(
LogoutRequest value, $Res Function(LogoutRequest) then) =
_$LogoutRequestCopyWithImpl<$Res, LogoutRequest>;
@useResult
$Res call({@JsonKey(name: 'refresh_token') String refreshToken});
}
/// @nodoc
class _$LogoutRequestCopyWithImpl<$Res, $Val extends LogoutRequest>
implements $LogoutRequestCopyWith<$Res> {
_$LogoutRequestCopyWithImpl(this._value, this._then);
// ignore: unused_field
final $Val _value;
// ignore: unused_field
final $Res Function($Val) _then;
/// Create a copy of LogoutRequest
/// 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 _$$LogoutRequestImplCopyWith<$Res>
implements $LogoutRequestCopyWith<$Res> {
factory _$$LogoutRequestImplCopyWith(
_$LogoutRequestImpl value, $Res Function(_$LogoutRequestImpl) then) =
__$$LogoutRequestImplCopyWithImpl<$Res>;
@override
@useResult
$Res call({@JsonKey(name: 'refresh_token') String refreshToken});
}
/// @nodoc
class __$$LogoutRequestImplCopyWithImpl<$Res>
extends _$LogoutRequestCopyWithImpl<$Res, _$LogoutRequestImpl>
implements _$$LogoutRequestImplCopyWith<$Res> {
__$$LogoutRequestImplCopyWithImpl(
_$LogoutRequestImpl _value, $Res Function(_$LogoutRequestImpl) _then)
: super(_value, _then);
/// Create a copy of LogoutRequest
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? refreshToken = null,
}) {
return _then(_$LogoutRequestImpl(
refreshToken: null == refreshToken
? _value.refreshToken
: refreshToken // ignore: cast_nullable_to_non_nullable
as String,
));
}
}
/// @nodoc
@JsonSerializable()
class _$LogoutRequestImpl implements _LogoutRequest {
const _$LogoutRequestImpl(
{@JsonKey(name: 'refresh_token') required this.refreshToken});
factory _$LogoutRequestImpl.fromJson(Map<String, dynamic> json) =>
_$$LogoutRequestImplFromJson(json);
@override
@JsonKey(name: 'refresh_token')
final String refreshToken;
@override
String toString() {
return 'LogoutRequest(refreshToken: $refreshToken)';
}
@override
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$LogoutRequestImpl &&
(identical(other.refreshToken, refreshToken) ||
other.refreshToken == refreshToken));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType, refreshToken);
/// Create a copy of LogoutRequest
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$LogoutRequestImplCopyWith<_$LogoutRequestImpl> get copyWith =>
__$$LogoutRequestImplCopyWithImpl<_$LogoutRequestImpl>(this, _$identity);
@override
Map<String, dynamic> toJson() {
return _$$LogoutRequestImplToJson(
this,
);
}
}
abstract class _LogoutRequest implements LogoutRequest {
const factory _LogoutRequest(
{@JsonKey(name: 'refresh_token')
required final String refreshToken}) = _$LogoutRequestImpl;
factory _LogoutRequest.fromJson(Map<String, dynamic> json) =
_$LogoutRequestImpl.fromJson;
@override
@JsonKey(name: 'refresh_token')
String get refreshToken;
/// Create a copy of LogoutRequest
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(includeFromJson: false, includeToJson: false)
_$$LogoutRequestImplCopyWith<_$LogoutRequestImpl> get copyWith =>
throw _privateConstructorUsedError;
}