-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from f-lab-edu/7-job-posting-update
[#7] 공고 수정 기능 구현
- Loading branch information
Showing
40 changed files
with
5,286 additions
and
284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
233 changes: 233 additions & 0 deletions
233
lib/feature/account/data/data_sources/dto/login/request/login_request_dto.freezed.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,233 @@ | ||
// 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 'login_request_dto.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'); | ||
|
||
LoginRequestDto _$LoginRequestDtoFromJson(Map<String, dynamic> json) { | ||
return _LoginRequestDto.fromJson(json); | ||
} | ||
|
||
/// @nodoc | ||
mixin _$LoginRequestDto { | ||
AccountType get accountType => throw _privateConstructorUsedError; | ||
LoginType get loginType => throw _privateConstructorUsedError; | ||
String get loginId => throw _privateConstructorUsedError; | ||
String get password => throw _privateConstructorUsedError; | ||
|
||
/// Serializes this LoginRequestDto to a JSON map. | ||
Map<String, dynamic> toJson() => throw _privateConstructorUsedError; | ||
|
||
/// Create a copy of LoginRequestDto | ||
/// with the given fields replaced by the non-null parameter values. | ||
@JsonKey(includeFromJson: false, includeToJson: false) | ||
$LoginRequestDtoCopyWith<LoginRequestDto> get copyWith => | ||
throw _privateConstructorUsedError; | ||
} | ||
|
||
/// @nodoc | ||
abstract class $LoginRequestDtoCopyWith<$Res> { | ||
factory $LoginRequestDtoCopyWith( | ||
LoginRequestDto value, $Res Function(LoginRequestDto) then) = | ||
_$LoginRequestDtoCopyWithImpl<$Res, LoginRequestDto>; | ||
@useResult | ||
$Res call( | ||
{AccountType accountType, | ||
LoginType loginType, | ||
String loginId, | ||
String password}); | ||
} | ||
|
||
/// @nodoc | ||
class _$LoginRequestDtoCopyWithImpl<$Res, $Val extends LoginRequestDto> | ||
implements $LoginRequestDtoCopyWith<$Res> { | ||
_$LoginRequestDtoCopyWithImpl(this._value, this._then); | ||
|
||
// ignore: unused_field | ||
final $Val _value; | ||
// ignore: unused_field | ||
final $Res Function($Val) _then; | ||
|
||
/// Create a copy of LoginRequestDto | ||
/// with the given fields replaced by the non-null parameter values. | ||
@pragma('vm:prefer-inline') | ||
@override | ||
$Res call({ | ||
Object? accountType = null, | ||
Object? loginType = null, | ||
Object? loginId = null, | ||
Object? password = null, | ||
}) { | ||
return _then(_value.copyWith( | ||
accountType: null == accountType | ||
? _value.accountType | ||
: accountType // ignore: cast_nullable_to_non_nullable | ||
as AccountType, | ||
loginType: null == loginType | ||
? _value.loginType | ||
: loginType // ignore: cast_nullable_to_non_nullable | ||
as LoginType, | ||
loginId: null == loginId | ||
? _value.loginId | ||
: loginId // ignore: cast_nullable_to_non_nullable | ||
as String, | ||
password: null == password | ||
? _value.password | ||
: password // ignore: cast_nullable_to_non_nullable | ||
as String, | ||
) as $Val); | ||
} | ||
} | ||
|
||
/// @nodoc | ||
abstract class _$$LoginRequestDtoImplCopyWith<$Res> | ||
implements $LoginRequestDtoCopyWith<$Res> { | ||
factory _$$LoginRequestDtoImplCopyWith(_$LoginRequestDtoImpl value, | ||
$Res Function(_$LoginRequestDtoImpl) then) = | ||
__$$LoginRequestDtoImplCopyWithImpl<$Res>; | ||
@override | ||
@useResult | ||
$Res call( | ||
{AccountType accountType, | ||
LoginType loginType, | ||
String loginId, | ||
String password}); | ||
} | ||
|
||
/// @nodoc | ||
class __$$LoginRequestDtoImplCopyWithImpl<$Res> | ||
extends _$LoginRequestDtoCopyWithImpl<$Res, _$LoginRequestDtoImpl> | ||
implements _$$LoginRequestDtoImplCopyWith<$Res> { | ||
__$$LoginRequestDtoImplCopyWithImpl( | ||
_$LoginRequestDtoImpl _value, $Res Function(_$LoginRequestDtoImpl) _then) | ||
: super(_value, _then); | ||
|
||
/// Create a copy of LoginRequestDto | ||
/// with the given fields replaced by the non-null parameter values. | ||
@pragma('vm:prefer-inline') | ||
@override | ||
$Res call({ | ||
Object? accountType = null, | ||
Object? loginType = null, | ||
Object? loginId = null, | ||
Object? password = null, | ||
}) { | ||
return _then(_$LoginRequestDtoImpl( | ||
accountType: null == accountType | ||
? _value.accountType | ||
: accountType // ignore: cast_nullable_to_non_nullable | ||
as AccountType, | ||
loginType: null == loginType | ||
? _value.loginType | ||
: loginType // ignore: cast_nullable_to_non_nullable | ||
as LoginType, | ||
loginId: null == loginId | ||
? _value.loginId | ||
: loginId // ignore: cast_nullable_to_non_nullable | ||
as String, | ||
password: null == password | ||
? _value.password | ||
: password // ignore: cast_nullable_to_non_nullable | ||
as String, | ||
)); | ||
} | ||
} | ||
|
||
/// @nodoc | ||
@JsonSerializable() | ||
class _$LoginRequestDtoImpl implements _LoginRequestDto { | ||
_$LoginRequestDtoImpl( | ||
{required this.accountType, | ||
required this.loginType, | ||
required this.loginId, | ||
required this.password}); | ||
|
||
factory _$LoginRequestDtoImpl.fromJson(Map<String, dynamic> json) => | ||
_$$LoginRequestDtoImplFromJson(json); | ||
|
||
@override | ||
final AccountType accountType; | ||
@override | ||
final LoginType loginType; | ||
@override | ||
final String loginId; | ||
@override | ||
final String password; | ||
|
||
@override | ||
String toString() { | ||
return 'LoginRequestDto(accountType: $accountType, loginType: $loginType, loginId: $loginId, password: $password)'; | ||
} | ||
|
||
@override | ||
bool operator ==(Object other) { | ||
return identical(this, other) || | ||
(other.runtimeType == runtimeType && | ||
other is _$LoginRequestDtoImpl && | ||
(identical(other.accountType, accountType) || | ||
other.accountType == accountType) && | ||
(identical(other.loginType, loginType) || | ||
other.loginType == loginType) && | ||
(identical(other.loginId, loginId) || other.loginId == loginId) && | ||
(identical(other.password, password) || | ||
other.password == password)); | ||
} | ||
|
||
@JsonKey(includeFromJson: false, includeToJson: false) | ||
@override | ||
int get hashCode => | ||
Object.hash(runtimeType, accountType, loginType, loginId, password); | ||
|
||
/// Create a copy of LoginRequestDto | ||
/// with the given fields replaced by the non-null parameter values. | ||
@JsonKey(includeFromJson: false, includeToJson: false) | ||
@override | ||
@pragma('vm:prefer-inline') | ||
_$$LoginRequestDtoImplCopyWith<_$LoginRequestDtoImpl> get copyWith => | ||
__$$LoginRequestDtoImplCopyWithImpl<_$LoginRequestDtoImpl>( | ||
this, _$identity); | ||
|
||
@override | ||
Map<String, dynamic> toJson() { | ||
return _$$LoginRequestDtoImplToJson( | ||
this, | ||
); | ||
} | ||
} | ||
|
||
abstract class _LoginRequestDto implements LoginRequestDto { | ||
factory _LoginRequestDto( | ||
{required final AccountType accountType, | ||
required final LoginType loginType, | ||
required final String loginId, | ||
required final String password}) = _$LoginRequestDtoImpl; | ||
|
||
factory _LoginRequestDto.fromJson(Map<String, dynamic> json) = | ||
_$LoginRequestDtoImpl.fromJson; | ||
|
||
@override | ||
AccountType get accountType; | ||
@override | ||
LoginType get loginType; | ||
@override | ||
String get loginId; | ||
@override | ||
String get password; | ||
|
||
/// Create a copy of LoginRequestDto | ||
/// with the given fields replaced by the non-null parameter values. | ||
@override | ||
@JsonKey(includeFromJson: false, includeToJson: false) | ||
_$$LoginRequestDtoImplCopyWith<_$LoginRequestDtoImpl> get copyWith => | ||
throw _privateConstructorUsedError; | ||
} |
38 changes: 38 additions & 0 deletions
38
lib/feature/account/data/data_sources/dto/login/request/login_request_dto.g.dart
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.