enaklo-flutter/lib/infrastructure/auth/auth_dtos.freezed.dart
2025-09-18 07:16:56 +07:00

2394 lines
71 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 'auth_dtos.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',
);
CheckPhoneDto _$CheckPhoneDtoFromJson(Map<String, dynamic> json) {
return _CheckPhoneDto.fromJson(json);
}
/// @nodoc
mixin _$CheckPhoneDto {
@JsonKey(name: 'status')
String? get status => throw _privateConstructorUsedError;
@JsonKey(name: 'message')
String? get message => throw _privateConstructorUsedError;
@JsonKey(name: 'data')
CheckPhoneDataDto? get data => throw _privateConstructorUsedError;
/// Serializes this CheckPhoneDto to a JSON map.
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
/// Create a copy of CheckPhoneDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$CheckPhoneDtoCopyWith<CheckPhoneDto> get copyWith =>
throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $CheckPhoneDtoCopyWith<$Res> {
factory $CheckPhoneDtoCopyWith(
CheckPhoneDto value,
$Res Function(CheckPhoneDto) then,
) = _$CheckPhoneDtoCopyWithImpl<$Res, CheckPhoneDto>;
@useResult
$Res call({
@JsonKey(name: 'status') String? status,
@JsonKey(name: 'message') String? message,
@JsonKey(name: 'data') CheckPhoneDataDto? data,
});
$CheckPhoneDataDtoCopyWith<$Res>? get data;
}
/// @nodoc
class _$CheckPhoneDtoCopyWithImpl<$Res, $Val extends CheckPhoneDto>
implements $CheckPhoneDtoCopyWith<$Res> {
_$CheckPhoneDtoCopyWithImpl(this._value, this._then);
// ignore: unused_field
final $Val _value;
// ignore: unused_field
final $Res Function($Val) _then;
/// Create a copy of CheckPhoneDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? status = freezed,
Object? message = freezed,
Object? data = freezed,
}) {
return _then(
_value.copyWith(
status: freezed == status
? _value.status
: status // ignore: cast_nullable_to_non_nullable
as String?,
message: freezed == message
? _value.message
: message // ignore: cast_nullable_to_non_nullable
as String?,
data: freezed == data
? _value.data
: data // ignore: cast_nullable_to_non_nullable
as CheckPhoneDataDto?,
)
as $Val,
);
}
/// Create a copy of CheckPhoneDto
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$CheckPhoneDataDtoCopyWith<$Res>? get data {
if (_value.data == null) {
return null;
}
return $CheckPhoneDataDtoCopyWith<$Res>(_value.data!, (value) {
return _then(_value.copyWith(data: value) as $Val);
});
}
}
/// @nodoc
abstract class _$$CheckPhoneDtoImplCopyWith<$Res>
implements $CheckPhoneDtoCopyWith<$Res> {
factory _$$CheckPhoneDtoImplCopyWith(
_$CheckPhoneDtoImpl value,
$Res Function(_$CheckPhoneDtoImpl) then,
) = __$$CheckPhoneDtoImplCopyWithImpl<$Res>;
@override
@useResult
$Res call({
@JsonKey(name: 'status') String? status,
@JsonKey(name: 'message') String? message,
@JsonKey(name: 'data') CheckPhoneDataDto? data,
});
@override
$CheckPhoneDataDtoCopyWith<$Res>? get data;
}
/// @nodoc
class __$$CheckPhoneDtoImplCopyWithImpl<$Res>
extends _$CheckPhoneDtoCopyWithImpl<$Res, _$CheckPhoneDtoImpl>
implements _$$CheckPhoneDtoImplCopyWith<$Res> {
__$$CheckPhoneDtoImplCopyWithImpl(
_$CheckPhoneDtoImpl _value,
$Res Function(_$CheckPhoneDtoImpl) _then,
) : super(_value, _then);
/// Create a copy of CheckPhoneDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? status = freezed,
Object? message = freezed,
Object? data = freezed,
}) {
return _then(
_$CheckPhoneDtoImpl(
status: freezed == status
? _value.status
: status // ignore: cast_nullable_to_non_nullable
as String?,
message: freezed == message
? _value.message
: message // ignore: cast_nullable_to_non_nullable
as String?,
data: freezed == data
? _value.data
: data // ignore: cast_nullable_to_non_nullable
as CheckPhoneDataDto?,
),
);
}
}
/// @nodoc
@JsonSerializable()
class _$CheckPhoneDtoImpl extends _CheckPhoneDto {
const _$CheckPhoneDtoImpl({
@JsonKey(name: 'status') this.status,
@JsonKey(name: 'message') this.message,
@JsonKey(name: 'data') this.data,
}) : super._();
factory _$CheckPhoneDtoImpl.fromJson(Map<String, dynamic> json) =>
_$$CheckPhoneDtoImplFromJson(json);
@override
@JsonKey(name: 'status')
final String? status;
@override
@JsonKey(name: 'message')
final String? message;
@override
@JsonKey(name: 'data')
final CheckPhoneDataDto? data;
@override
String toString() {
return 'CheckPhoneDto(status: $status, message: $message, data: $data)';
}
@override
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$CheckPhoneDtoImpl &&
(identical(other.status, status) || other.status == status) &&
(identical(other.message, message) || other.message == message) &&
(identical(other.data, data) || other.data == data));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType, status, message, data);
/// Create a copy of CheckPhoneDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$CheckPhoneDtoImplCopyWith<_$CheckPhoneDtoImpl> get copyWith =>
__$$CheckPhoneDtoImplCopyWithImpl<_$CheckPhoneDtoImpl>(this, _$identity);
@override
Map<String, dynamic> toJson() {
return _$$CheckPhoneDtoImplToJson(this);
}
}
abstract class _CheckPhoneDto extends CheckPhoneDto {
const factory _CheckPhoneDto({
@JsonKey(name: 'status') final String? status,
@JsonKey(name: 'message') final String? message,
@JsonKey(name: 'data') final CheckPhoneDataDto? data,
}) = _$CheckPhoneDtoImpl;
const _CheckPhoneDto._() : super._();
factory _CheckPhoneDto.fromJson(Map<String, dynamic> json) =
_$CheckPhoneDtoImpl.fromJson;
@override
@JsonKey(name: 'status')
String? get status;
@override
@JsonKey(name: 'message')
String? get message;
@override
@JsonKey(name: 'data')
CheckPhoneDataDto? get data;
/// Create a copy of CheckPhoneDto
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(includeFromJson: false, includeToJson: false)
_$$CheckPhoneDtoImplCopyWith<_$CheckPhoneDtoImpl> get copyWith =>
throw _privateConstructorUsedError;
}
CheckPhoneDataDto _$CheckPhoneDataDtoFromJson(Map<String, dynamic> json) {
return _CheckPhoneDataDto.fromJson(json);
}
/// @nodoc
mixin _$CheckPhoneDataDto {
@JsonKey(name: 'phone_number')
String? get phoneNumber => throw _privateConstructorUsedError;
/// Serializes this CheckPhoneDataDto to a JSON map.
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
/// Create a copy of CheckPhoneDataDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$CheckPhoneDataDtoCopyWith<CheckPhoneDataDto> get copyWith =>
throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $CheckPhoneDataDtoCopyWith<$Res> {
factory $CheckPhoneDataDtoCopyWith(
CheckPhoneDataDto value,
$Res Function(CheckPhoneDataDto) then,
) = _$CheckPhoneDataDtoCopyWithImpl<$Res, CheckPhoneDataDto>;
@useResult
$Res call({@JsonKey(name: 'phone_number') String? phoneNumber});
}
/// @nodoc
class _$CheckPhoneDataDtoCopyWithImpl<$Res, $Val extends CheckPhoneDataDto>
implements $CheckPhoneDataDtoCopyWith<$Res> {
_$CheckPhoneDataDtoCopyWithImpl(this._value, this._then);
// ignore: unused_field
final $Val _value;
// ignore: unused_field
final $Res Function($Val) _then;
/// Create a copy of CheckPhoneDataDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({Object? phoneNumber = freezed}) {
return _then(
_value.copyWith(
phoneNumber: freezed == phoneNumber
? _value.phoneNumber
: phoneNumber // ignore: cast_nullable_to_non_nullable
as String?,
)
as $Val,
);
}
}
/// @nodoc
abstract class _$$CheckPhoneDataDtoImplCopyWith<$Res>
implements $CheckPhoneDataDtoCopyWith<$Res> {
factory _$$CheckPhoneDataDtoImplCopyWith(
_$CheckPhoneDataDtoImpl value,
$Res Function(_$CheckPhoneDataDtoImpl) then,
) = __$$CheckPhoneDataDtoImplCopyWithImpl<$Res>;
@override
@useResult
$Res call({@JsonKey(name: 'phone_number') String? phoneNumber});
}
/// @nodoc
class __$$CheckPhoneDataDtoImplCopyWithImpl<$Res>
extends _$CheckPhoneDataDtoCopyWithImpl<$Res, _$CheckPhoneDataDtoImpl>
implements _$$CheckPhoneDataDtoImplCopyWith<$Res> {
__$$CheckPhoneDataDtoImplCopyWithImpl(
_$CheckPhoneDataDtoImpl _value,
$Res Function(_$CheckPhoneDataDtoImpl) _then,
) : super(_value, _then);
/// Create a copy of CheckPhoneDataDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({Object? phoneNumber = freezed}) {
return _then(
_$CheckPhoneDataDtoImpl(
phoneNumber: freezed == phoneNumber
? _value.phoneNumber
: phoneNumber // ignore: cast_nullable_to_non_nullable
as String?,
),
);
}
}
/// @nodoc
@JsonSerializable()
class _$CheckPhoneDataDtoImpl implements _CheckPhoneDataDto {
const _$CheckPhoneDataDtoImpl({
@JsonKey(name: 'phone_number') this.phoneNumber,
});
factory _$CheckPhoneDataDtoImpl.fromJson(Map<String, dynamic> json) =>
_$$CheckPhoneDataDtoImplFromJson(json);
@override
@JsonKey(name: 'phone_number')
final String? phoneNumber;
@override
String toString() {
return 'CheckPhoneDataDto(phoneNumber: $phoneNumber)';
}
@override
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$CheckPhoneDataDtoImpl &&
(identical(other.phoneNumber, phoneNumber) ||
other.phoneNumber == phoneNumber));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType, phoneNumber);
/// Create a copy of CheckPhoneDataDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$CheckPhoneDataDtoImplCopyWith<_$CheckPhoneDataDtoImpl> get copyWith =>
__$$CheckPhoneDataDtoImplCopyWithImpl<_$CheckPhoneDataDtoImpl>(
this,
_$identity,
);
@override
Map<String, dynamic> toJson() {
return _$$CheckPhoneDataDtoImplToJson(this);
}
}
abstract class _CheckPhoneDataDto implements CheckPhoneDataDto {
const factory _CheckPhoneDataDto({
@JsonKey(name: 'phone_number') final String? phoneNumber,
}) = _$CheckPhoneDataDtoImpl;
factory _CheckPhoneDataDto.fromJson(Map<String, dynamic> json) =
_$CheckPhoneDataDtoImpl.fromJson;
@override
@JsonKey(name: 'phone_number')
String? get phoneNumber;
/// Create a copy of CheckPhoneDataDto
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(includeFromJson: false, includeToJson: false)
_$$CheckPhoneDataDtoImplCopyWith<_$CheckPhoneDataDtoImpl> get copyWith =>
throw _privateConstructorUsedError;
}
RegisterDto _$RegisterDtoFromJson(Map<String, dynamic> json) {
return _RegisterDto.fromJson(json);
}
/// @nodoc
mixin _$RegisterDto {
@JsonKey(name: 'status')
String? get status => throw _privateConstructorUsedError;
@JsonKey(name: 'message')
String? get message => throw _privateConstructorUsedError;
@JsonKey(name: 'data')
RegisterDataDto? get data => throw _privateConstructorUsedError;
/// Serializes this RegisterDto to a JSON map.
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
/// Create a copy of RegisterDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$RegisterDtoCopyWith<RegisterDto> get copyWith =>
throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $RegisterDtoCopyWith<$Res> {
factory $RegisterDtoCopyWith(
RegisterDto value,
$Res Function(RegisterDto) then,
) = _$RegisterDtoCopyWithImpl<$Res, RegisterDto>;
@useResult
$Res call({
@JsonKey(name: 'status') String? status,
@JsonKey(name: 'message') String? message,
@JsonKey(name: 'data') RegisterDataDto? data,
});
$RegisterDataDtoCopyWith<$Res>? get data;
}
/// @nodoc
class _$RegisterDtoCopyWithImpl<$Res, $Val extends RegisterDto>
implements $RegisterDtoCopyWith<$Res> {
_$RegisterDtoCopyWithImpl(this._value, this._then);
// ignore: unused_field
final $Val _value;
// ignore: unused_field
final $Res Function($Val) _then;
/// Create a copy of RegisterDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? status = freezed,
Object? message = freezed,
Object? data = freezed,
}) {
return _then(
_value.copyWith(
status: freezed == status
? _value.status
: status // ignore: cast_nullable_to_non_nullable
as String?,
message: freezed == message
? _value.message
: message // ignore: cast_nullable_to_non_nullable
as String?,
data: freezed == data
? _value.data
: data // ignore: cast_nullable_to_non_nullable
as RegisterDataDto?,
)
as $Val,
);
}
/// Create a copy of RegisterDto
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$RegisterDataDtoCopyWith<$Res>? get data {
if (_value.data == null) {
return null;
}
return $RegisterDataDtoCopyWith<$Res>(_value.data!, (value) {
return _then(_value.copyWith(data: value) as $Val);
});
}
}
/// @nodoc
abstract class _$$RegisterDtoImplCopyWith<$Res>
implements $RegisterDtoCopyWith<$Res> {
factory _$$RegisterDtoImplCopyWith(
_$RegisterDtoImpl value,
$Res Function(_$RegisterDtoImpl) then,
) = __$$RegisterDtoImplCopyWithImpl<$Res>;
@override
@useResult
$Res call({
@JsonKey(name: 'status') String? status,
@JsonKey(name: 'message') String? message,
@JsonKey(name: 'data') RegisterDataDto? data,
});
@override
$RegisterDataDtoCopyWith<$Res>? get data;
}
/// @nodoc
class __$$RegisterDtoImplCopyWithImpl<$Res>
extends _$RegisterDtoCopyWithImpl<$Res, _$RegisterDtoImpl>
implements _$$RegisterDtoImplCopyWith<$Res> {
__$$RegisterDtoImplCopyWithImpl(
_$RegisterDtoImpl _value,
$Res Function(_$RegisterDtoImpl) _then,
) : super(_value, _then);
/// Create a copy of RegisterDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? status = freezed,
Object? message = freezed,
Object? data = freezed,
}) {
return _then(
_$RegisterDtoImpl(
status: freezed == status
? _value.status
: status // ignore: cast_nullable_to_non_nullable
as String?,
message: freezed == message
? _value.message
: message // ignore: cast_nullable_to_non_nullable
as String?,
data: freezed == data
? _value.data
: data // ignore: cast_nullable_to_non_nullable
as RegisterDataDto?,
),
);
}
}
/// @nodoc
@JsonSerializable()
class _$RegisterDtoImpl extends _RegisterDto {
const _$RegisterDtoImpl({
@JsonKey(name: 'status') this.status,
@JsonKey(name: 'message') this.message,
@JsonKey(name: 'data') this.data,
}) : super._();
factory _$RegisterDtoImpl.fromJson(Map<String, dynamic> json) =>
_$$RegisterDtoImplFromJson(json);
@override
@JsonKey(name: 'status')
final String? status;
@override
@JsonKey(name: 'message')
final String? message;
@override
@JsonKey(name: 'data')
final RegisterDataDto? data;
@override
String toString() {
return 'RegisterDto(status: $status, message: $message, data: $data)';
}
@override
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$RegisterDtoImpl &&
(identical(other.status, status) || other.status == status) &&
(identical(other.message, message) || other.message == message) &&
(identical(other.data, data) || other.data == data));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType, status, message, data);
/// Create a copy of RegisterDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$RegisterDtoImplCopyWith<_$RegisterDtoImpl> get copyWith =>
__$$RegisterDtoImplCopyWithImpl<_$RegisterDtoImpl>(this, _$identity);
@override
Map<String, dynamic> toJson() {
return _$$RegisterDtoImplToJson(this);
}
}
abstract class _RegisterDto extends RegisterDto {
const factory _RegisterDto({
@JsonKey(name: 'status') final String? status,
@JsonKey(name: 'message') final String? message,
@JsonKey(name: 'data') final RegisterDataDto? data,
}) = _$RegisterDtoImpl;
const _RegisterDto._() : super._();
factory _RegisterDto.fromJson(Map<String, dynamic> json) =
_$RegisterDtoImpl.fromJson;
@override
@JsonKey(name: 'status')
String? get status;
@override
@JsonKey(name: 'message')
String? get message;
@override
@JsonKey(name: 'data')
RegisterDataDto? get data;
/// Create a copy of RegisterDto
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(includeFromJson: false, includeToJson: false)
_$$RegisterDtoImplCopyWith<_$RegisterDtoImpl> get copyWith =>
throw _privateConstructorUsedError;
}
RegisterDataDto _$RegisterDataDtoFromJson(Map<String, dynamic> json) {
return _RegisterDataDto.fromJson(json);
}
/// @nodoc
mixin _$RegisterDataDto {
@JsonKey(name: 'registration_token')
String? get registrationToken => throw _privateConstructorUsedError;
@JsonKey(name: 'otp_token')
String? get otpToken => throw _privateConstructorUsedError;
@JsonKey(name: 'expires_in')
int? get expiresIn => throw _privateConstructorUsedError;
/// Serializes this RegisterDataDto to a JSON map.
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
/// Create a copy of RegisterDataDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$RegisterDataDtoCopyWith<RegisterDataDto> get copyWith =>
throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $RegisterDataDtoCopyWith<$Res> {
factory $RegisterDataDtoCopyWith(
RegisterDataDto value,
$Res Function(RegisterDataDto) then,
) = _$RegisterDataDtoCopyWithImpl<$Res, RegisterDataDto>;
@useResult
$Res call({
@JsonKey(name: 'registration_token') String? registrationToken,
@JsonKey(name: 'otp_token') String? otpToken,
@JsonKey(name: 'expires_in') int? expiresIn,
});
}
/// @nodoc
class _$RegisterDataDtoCopyWithImpl<$Res, $Val extends RegisterDataDto>
implements $RegisterDataDtoCopyWith<$Res> {
_$RegisterDataDtoCopyWithImpl(this._value, this._then);
// ignore: unused_field
final $Val _value;
// ignore: unused_field
final $Res Function($Val) _then;
/// Create a copy of RegisterDataDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? registrationToken = freezed,
Object? otpToken = freezed,
Object? expiresIn = freezed,
}) {
return _then(
_value.copyWith(
registrationToken: freezed == registrationToken
? _value.registrationToken
: registrationToken // ignore: cast_nullable_to_non_nullable
as String?,
otpToken: freezed == otpToken
? _value.otpToken
: otpToken // ignore: cast_nullable_to_non_nullable
as String?,
expiresIn: freezed == expiresIn
? _value.expiresIn
: expiresIn // ignore: cast_nullable_to_non_nullable
as int?,
)
as $Val,
);
}
}
/// @nodoc
abstract class _$$RegisterDataDtoImplCopyWith<$Res>
implements $RegisterDataDtoCopyWith<$Res> {
factory _$$RegisterDataDtoImplCopyWith(
_$RegisterDataDtoImpl value,
$Res Function(_$RegisterDataDtoImpl) then,
) = __$$RegisterDataDtoImplCopyWithImpl<$Res>;
@override
@useResult
$Res call({
@JsonKey(name: 'registration_token') String? registrationToken,
@JsonKey(name: 'otp_token') String? otpToken,
@JsonKey(name: 'expires_in') int? expiresIn,
});
}
/// @nodoc
class __$$RegisterDataDtoImplCopyWithImpl<$Res>
extends _$RegisterDataDtoCopyWithImpl<$Res, _$RegisterDataDtoImpl>
implements _$$RegisterDataDtoImplCopyWith<$Res> {
__$$RegisterDataDtoImplCopyWithImpl(
_$RegisterDataDtoImpl _value,
$Res Function(_$RegisterDataDtoImpl) _then,
) : super(_value, _then);
/// Create a copy of RegisterDataDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? registrationToken = freezed,
Object? otpToken = freezed,
Object? expiresIn = freezed,
}) {
return _then(
_$RegisterDataDtoImpl(
registrationToken: freezed == registrationToken
? _value.registrationToken
: registrationToken // ignore: cast_nullable_to_non_nullable
as String?,
otpToken: freezed == otpToken
? _value.otpToken
: otpToken // ignore: cast_nullable_to_non_nullable
as String?,
expiresIn: freezed == expiresIn
? _value.expiresIn
: expiresIn // ignore: cast_nullable_to_non_nullable
as int?,
),
);
}
}
/// @nodoc
@JsonSerializable()
class _$RegisterDataDtoImpl implements _RegisterDataDto {
const _$RegisterDataDtoImpl({
@JsonKey(name: 'registration_token') this.registrationToken,
@JsonKey(name: 'otp_token') this.otpToken,
@JsonKey(name: 'expires_in') this.expiresIn,
});
factory _$RegisterDataDtoImpl.fromJson(Map<String, dynamic> json) =>
_$$RegisterDataDtoImplFromJson(json);
@override
@JsonKey(name: 'registration_token')
final String? registrationToken;
@override
@JsonKey(name: 'otp_token')
final String? otpToken;
@override
@JsonKey(name: 'expires_in')
final int? expiresIn;
@override
String toString() {
return 'RegisterDataDto(registrationToken: $registrationToken, otpToken: $otpToken, expiresIn: $expiresIn)';
}
@override
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$RegisterDataDtoImpl &&
(identical(other.registrationToken, registrationToken) ||
other.registrationToken == registrationToken) &&
(identical(other.otpToken, otpToken) ||
other.otpToken == otpToken) &&
(identical(other.expiresIn, expiresIn) ||
other.expiresIn == expiresIn));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode =>
Object.hash(runtimeType, registrationToken, otpToken, expiresIn);
/// Create a copy of RegisterDataDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$RegisterDataDtoImplCopyWith<_$RegisterDataDtoImpl> get copyWith =>
__$$RegisterDataDtoImplCopyWithImpl<_$RegisterDataDtoImpl>(
this,
_$identity,
);
@override
Map<String, dynamic> toJson() {
return _$$RegisterDataDtoImplToJson(this);
}
}
abstract class _RegisterDataDto implements RegisterDataDto {
const factory _RegisterDataDto({
@JsonKey(name: 'registration_token') final String? registrationToken,
@JsonKey(name: 'otp_token') final String? otpToken,
@JsonKey(name: 'expires_in') final int? expiresIn,
}) = _$RegisterDataDtoImpl;
factory _RegisterDataDto.fromJson(Map<String, dynamic> json) =
_$RegisterDataDtoImpl.fromJson;
@override
@JsonKey(name: 'registration_token')
String? get registrationToken;
@override
@JsonKey(name: 'otp_token')
String? get otpToken;
@override
@JsonKey(name: 'expires_in')
int? get expiresIn;
/// Create a copy of RegisterDataDto
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(includeFromJson: false, includeToJson: false)
_$$RegisterDataDtoImplCopyWith<_$RegisterDataDtoImpl> get copyWith =>
throw _privateConstructorUsedError;
}
VerifyDto _$VerifyDtoFromJson(Map<String, dynamic> json) {
return _VerifyDto.fromJson(json);
}
/// @nodoc
mixin _$VerifyDto {
@JsonKey(name: 'status')
String? get status => throw _privateConstructorUsedError;
@JsonKey(name: 'message')
String? get message => throw _privateConstructorUsedError;
@JsonKey(name: 'data')
VerifyDataDto? get data => throw _privateConstructorUsedError;
/// Serializes this VerifyDto to a JSON map.
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
/// Create a copy of VerifyDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$VerifyDtoCopyWith<VerifyDto> get copyWith =>
throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $VerifyDtoCopyWith<$Res> {
factory $VerifyDtoCopyWith(VerifyDto value, $Res Function(VerifyDto) then) =
_$VerifyDtoCopyWithImpl<$Res, VerifyDto>;
@useResult
$Res call({
@JsonKey(name: 'status') String? status,
@JsonKey(name: 'message') String? message,
@JsonKey(name: 'data') VerifyDataDto? data,
});
$VerifyDataDtoCopyWith<$Res>? get data;
}
/// @nodoc
class _$VerifyDtoCopyWithImpl<$Res, $Val extends VerifyDto>
implements $VerifyDtoCopyWith<$Res> {
_$VerifyDtoCopyWithImpl(this._value, this._then);
// ignore: unused_field
final $Val _value;
// ignore: unused_field
final $Res Function($Val) _then;
/// Create a copy of VerifyDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? status = freezed,
Object? message = freezed,
Object? data = freezed,
}) {
return _then(
_value.copyWith(
status: freezed == status
? _value.status
: status // ignore: cast_nullable_to_non_nullable
as String?,
message: freezed == message
? _value.message
: message // ignore: cast_nullable_to_non_nullable
as String?,
data: freezed == data
? _value.data
: data // ignore: cast_nullable_to_non_nullable
as VerifyDataDto?,
)
as $Val,
);
}
/// Create a copy of VerifyDto
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$VerifyDataDtoCopyWith<$Res>? get data {
if (_value.data == null) {
return null;
}
return $VerifyDataDtoCopyWith<$Res>(_value.data!, (value) {
return _then(_value.copyWith(data: value) as $Val);
});
}
}
/// @nodoc
abstract class _$$VerifyDtoImplCopyWith<$Res>
implements $VerifyDtoCopyWith<$Res> {
factory _$$VerifyDtoImplCopyWith(
_$VerifyDtoImpl value,
$Res Function(_$VerifyDtoImpl) then,
) = __$$VerifyDtoImplCopyWithImpl<$Res>;
@override
@useResult
$Res call({
@JsonKey(name: 'status') String? status,
@JsonKey(name: 'message') String? message,
@JsonKey(name: 'data') VerifyDataDto? data,
});
@override
$VerifyDataDtoCopyWith<$Res>? get data;
}
/// @nodoc
class __$$VerifyDtoImplCopyWithImpl<$Res>
extends _$VerifyDtoCopyWithImpl<$Res, _$VerifyDtoImpl>
implements _$$VerifyDtoImplCopyWith<$Res> {
__$$VerifyDtoImplCopyWithImpl(
_$VerifyDtoImpl _value,
$Res Function(_$VerifyDtoImpl) _then,
) : super(_value, _then);
/// Create a copy of VerifyDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? status = freezed,
Object? message = freezed,
Object? data = freezed,
}) {
return _then(
_$VerifyDtoImpl(
status: freezed == status
? _value.status
: status // ignore: cast_nullable_to_non_nullable
as String?,
message: freezed == message
? _value.message
: message // ignore: cast_nullable_to_non_nullable
as String?,
data: freezed == data
? _value.data
: data // ignore: cast_nullable_to_non_nullable
as VerifyDataDto?,
),
);
}
}
/// @nodoc
@JsonSerializable()
class _$VerifyDtoImpl extends _VerifyDto {
const _$VerifyDtoImpl({
@JsonKey(name: 'status') this.status,
@JsonKey(name: 'message') this.message,
@JsonKey(name: 'data') this.data,
}) : super._();
factory _$VerifyDtoImpl.fromJson(Map<String, dynamic> json) =>
_$$VerifyDtoImplFromJson(json);
@override
@JsonKey(name: 'status')
final String? status;
@override
@JsonKey(name: 'message')
final String? message;
@override
@JsonKey(name: 'data')
final VerifyDataDto? data;
@override
String toString() {
return 'VerifyDto(status: $status, message: $message, data: $data)';
}
@override
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$VerifyDtoImpl &&
(identical(other.status, status) || other.status == status) &&
(identical(other.message, message) || other.message == message) &&
(identical(other.data, data) || other.data == data));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType, status, message, data);
/// Create a copy of VerifyDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$VerifyDtoImplCopyWith<_$VerifyDtoImpl> get copyWith =>
__$$VerifyDtoImplCopyWithImpl<_$VerifyDtoImpl>(this, _$identity);
@override
Map<String, dynamic> toJson() {
return _$$VerifyDtoImplToJson(this);
}
}
abstract class _VerifyDto extends VerifyDto {
const factory _VerifyDto({
@JsonKey(name: 'status') final String? status,
@JsonKey(name: 'message') final String? message,
@JsonKey(name: 'data') final VerifyDataDto? data,
}) = _$VerifyDtoImpl;
const _VerifyDto._() : super._();
factory _VerifyDto.fromJson(Map<String, dynamic> json) =
_$VerifyDtoImpl.fromJson;
@override
@JsonKey(name: 'status')
String? get status;
@override
@JsonKey(name: 'message')
String? get message;
@override
@JsonKey(name: 'data')
VerifyDataDto? get data;
/// Create a copy of VerifyDto
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(includeFromJson: false, includeToJson: false)
_$$VerifyDtoImplCopyWith<_$VerifyDtoImpl> get copyWith =>
throw _privateConstructorUsedError;
}
VerifyDataDto _$VerifyDataDtoFromJson(Map<String, dynamic> json) {
return _VerifyDataDto.fromJson(json);
}
/// @nodoc
mixin _$VerifyDataDto {
@JsonKey(name: 'registration_token')
String? get registrationToken => throw _privateConstructorUsedError;
/// Serializes this VerifyDataDto to a JSON map.
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
/// Create a copy of VerifyDataDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$VerifyDataDtoCopyWith<VerifyDataDto> get copyWith =>
throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $VerifyDataDtoCopyWith<$Res> {
factory $VerifyDataDtoCopyWith(
VerifyDataDto value,
$Res Function(VerifyDataDto) then,
) = _$VerifyDataDtoCopyWithImpl<$Res, VerifyDataDto>;
@useResult
$Res call({@JsonKey(name: 'registration_token') String? registrationToken});
}
/// @nodoc
class _$VerifyDataDtoCopyWithImpl<$Res, $Val extends VerifyDataDto>
implements $VerifyDataDtoCopyWith<$Res> {
_$VerifyDataDtoCopyWithImpl(this._value, this._then);
// ignore: unused_field
final $Val _value;
// ignore: unused_field
final $Res Function($Val) _then;
/// Create a copy of VerifyDataDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({Object? registrationToken = freezed}) {
return _then(
_value.copyWith(
registrationToken: freezed == registrationToken
? _value.registrationToken
: registrationToken // ignore: cast_nullable_to_non_nullable
as String?,
)
as $Val,
);
}
}
/// @nodoc
abstract class _$$VerifyDataDtoImplCopyWith<$Res>
implements $VerifyDataDtoCopyWith<$Res> {
factory _$$VerifyDataDtoImplCopyWith(
_$VerifyDataDtoImpl value,
$Res Function(_$VerifyDataDtoImpl) then,
) = __$$VerifyDataDtoImplCopyWithImpl<$Res>;
@override
@useResult
$Res call({@JsonKey(name: 'registration_token') String? registrationToken});
}
/// @nodoc
class __$$VerifyDataDtoImplCopyWithImpl<$Res>
extends _$VerifyDataDtoCopyWithImpl<$Res, _$VerifyDataDtoImpl>
implements _$$VerifyDataDtoImplCopyWith<$Res> {
__$$VerifyDataDtoImplCopyWithImpl(
_$VerifyDataDtoImpl _value,
$Res Function(_$VerifyDataDtoImpl) _then,
) : super(_value, _then);
/// Create a copy of VerifyDataDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({Object? registrationToken = freezed}) {
return _then(
_$VerifyDataDtoImpl(
registrationToken: freezed == registrationToken
? _value.registrationToken
: registrationToken // ignore: cast_nullable_to_non_nullable
as String?,
),
);
}
}
/// @nodoc
@JsonSerializable()
class _$VerifyDataDtoImpl implements _VerifyDataDto {
const _$VerifyDataDtoImpl({
@JsonKey(name: 'registration_token') this.registrationToken,
});
factory _$VerifyDataDtoImpl.fromJson(Map<String, dynamic> json) =>
_$$VerifyDataDtoImplFromJson(json);
@override
@JsonKey(name: 'registration_token')
final String? registrationToken;
@override
String toString() {
return 'VerifyDataDto(registrationToken: $registrationToken)';
}
@override
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$VerifyDataDtoImpl &&
(identical(other.registrationToken, registrationToken) ||
other.registrationToken == registrationToken));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType, registrationToken);
/// Create a copy of VerifyDataDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$VerifyDataDtoImplCopyWith<_$VerifyDataDtoImpl> get copyWith =>
__$$VerifyDataDtoImplCopyWithImpl<_$VerifyDataDtoImpl>(this, _$identity);
@override
Map<String, dynamic> toJson() {
return _$$VerifyDataDtoImplToJson(this);
}
}
abstract class _VerifyDataDto implements VerifyDataDto {
const factory _VerifyDataDto({
@JsonKey(name: 'registration_token') final String? registrationToken,
}) = _$VerifyDataDtoImpl;
factory _VerifyDataDto.fromJson(Map<String, dynamic> json) =
_$VerifyDataDtoImpl.fromJson;
@override
@JsonKey(name: 'registration_token')
String? get registrationToken;
/// Create a copy of VerifyDataDto
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(includeFromJson: false, includeToJson: false)
_$$VerifyDataDtoImplCopyWith<_$VerifyDataDtoImpl> get copyWith =>
throw _privateConstructorUsedError;
}
LoginDto _$LoginDtoFromJson(Map<String, dynamic> json) {
return _LoginDto.fromJson(json);
}
/// @nodoc
mixin _$LoginDto {
@JsonKey(name: 'status')
String? get status => throw _privateConstructorUsedError;
@JsonKey(name: 'message')
String? get message => throw _privateConstructorUsedError;
@JsonKey(name: 'data')
LoginDataDto? get data => throw _privateConstructorUsedError;
/// Serializes this LoginDto to a JSON map.
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
/// Create a copy of LoginDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$LoginDtoCopyWith<LoginDto> get copyWith =>
throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $LoginDtoCopyWith<$Res> {
factory $LoginDtoCopyWith(LoginDto value, $Res Function(LoginDto) then) =
_$LoginDtoCopyWithImpl<$Res, LoginDto>;
@useResult
$Res call({
@JsonKey(name: 'status') String? status,
@JsonKey(name: 'message') String? message,
@JsonKey(name: 'data') LoginDataDto? data,
});
$LoginDataDtoCopyWith<$Res>? get data;
}
/// @nodoc
class _$LoginDtoCopyWithImpl<$Res, $Val extends LoginDto>
implements $LoginDtoCopyWith<$Res> {
_$LoginDtoCopyWithImpl(this._value, this._then);
// ignore: unused_field
final $Val _value;
// ignore: unused_field
final $Res Function($Val) _then;
/// Create a copy of LoginDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? status = freezed,
Object? message = freezed,
Object? data = freezed,
}) {
return _then(
_value.copyWith(
status: freezed == status
? _value.status
: status // ignore: cast_nullable_to_non_nullable
as String?,
message: freezed == message
? _value.message
: message // ignore: cast_nullable_to_non_nullable
as String?,
data: freezed == data
? _value.data
: data // ignore: cast_nullable_to_non_nullable
as LoginDataDto?,
)
as $Val,
);
}
/// Create a copy of LoginDto
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$LoginDataDtoCopyWith<$Res>? get data {
if (_value.data == null) {
return null;
}
return $LoginDataDtoCopyWith<$Res>(_value.data!, (value) {
return _then(_value.copyWith(data: value) as $Val);
});
}
}
/// @nodoc
abstract class _$$LoginDtoImplCopyWith<$Res>
implements $LoginDtoCopyWith<$Res> {
factory _$$LoginDtoImplCopyWith(
_$LoginDtoImpl value,
$Res Function(_$LoginDtoImpl) then,
) = __$$LoginDtoImplCopyWithImpl<$Res>;
@override
@useResult
$Res call({
@JsonKey(name: 'status') String? status,
@JsonKey(name: 'message') String? message,
@JsonKey(name: 'data') LoginDataDto? data,
});
@override
$LoginDataDtoCopyWith<$Res>? get data;
}
/// @nodoc
class __$$LoginDtoImplCopyWithImpl<$Res>
extends _$LoginDtoCopyWithImpl<$Res, _$LoginDtoImpl>
implements _$$LoginDtoImplCopyWith<$Res> {
__$$LoginDtoImplCopyWithImpl(
_$LoginDtoImpl _value,
$Res Function(_$LoginDtoImpl) _then,
) : super(_value, _then);
/// Create a copy of LoginDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? status = freezed,
Object? message = freezed,
Object? data = freezed,
}) {
return _then(
_$LoginDtoImpl(
status: freezed == status
? _value.status
: status // ignore: cast_nullable_to_non_nullable
as String?,
message: freezed == message
? _value.message
: message // ignore: cast_nullable_to_non_nullable
as String?,
data: freezed == data
? _value.data
: data // ignore: cast_nullable_to_non_nullable
as LoginDataDto?,
),
);
}
}
/// @nodoc
@JsonSerializable()
class _$LoginDtoImpl extends _LoginDto {
const _$LoginDtoImpl({
@JsonKey(name: 'status') this.status,
@JsonKey(name: 'message') this.message,
@JsonKey(name: 'data') this.data,
}) : super._();
factory _$LoginDtoImpl.fromJson(Map<String, dynamic> json) =>
_$$LoginDtoImplFromJson(json);
@override
@JsonKey(name: 'status')
final String? status;
@override
@JsonKey(name: 'message')
final String? message;
@override
@JsonKey(name: 'data')
final LoginDataDto? data;
@override
String toString() {
return 'LoginDto(status: $status, message: $message, data: $data)';
}
@override
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$LoginDtoImpl &&
(identical(other.status, status) || other.status == status) &&
(identical(other.message, message) || other.message == message) &&
(identical(other.data, data) || other.data == data));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType, status, message, data);
/// Create a copy of LoginDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$LoginDtoImplCopyWith<_$LoginDtoImpl> get copyWith =>
__$$LoginDtoImplCopyWithImpl<_$LoginDtoImpl>(this, _$identity);
@override
Map<String, dynamic> toJson() {
return _$$LoginDtoImplToJson(this);
}
}
abstract class _LoginDto extends LoginDto {
const factory _LoginDto({
@JsonKey(name: 'status') final String? status,
@JsonKey(name: 'message') final String? message,
@JsonKey(name: 'data') final LoginDataDto? data,
}) = _$LoginDtoImpl;
const _LoginDto._() : super._();
factory _LoginDto.fromJson(Map<String, dynamic> json) =
_$LoginDtoImpl.fromJson;
@override
@JsonKey(name: 'status')
String? get status;
@override
@JsonKey(name: 'message')
String? get message;
@override
@JsonKey(name: 'data')
LoginDataDto? get data;
/// Create a copy of LoginDto
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(includeFromJson: false, includeToJson: false)
_$$LoginDtoImplCopyWith<_$LoginDtoImpl> get copyWith =>
throw _privateConstructorUsedError;
}
LoginDataDto _$LoginDataDtoFromJson(Map<String, dynamic> json) {
return _LoginDataDto.fromJson(json);
}
/// @nodoc
mixin _$LoginDataDto {
@JsonKey(name: 'access_token')
String? get accessToken => throw _privateConstructorUsedError;
@JsonKey(name: 'refresh_token')
String? get refreshToken => throw _privateConstructorUsedError;
@JsonKey(name: 'user')
UserDto? get user => throw _privateConstructorUsedError;
/// Serializes this LoginDataDto to a JSON map.
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
/// Create a copy of LoginDataDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$LoginDataDtoCopyWith<LoginDataDto> get copyWith =>
throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $LoginDataDtoCopyWith<$Res> {
factory $LoginDataDtoCopyWith(
LoginDataDto value,
$Res Function(LoginDataDto) then,
) = _$LoginDataDtoCopyWithImpl<$Res, LoginDataDto>;
@useResult
$Res call({
@JsonKey(name: 'access_token') String? accessToken,
@JsonKey(name: 'refresh_token') String? refreshToken,
@JsonKey(name: 'user') UserDto? user,
});
$UserDtoCopyWith<$Res>? get user;
}
/// @nodoc
class _$LoginDataDtoCopyWithImpl<$Res, $Val extends LoginDataDto>
implements $LoginDataDtoCopyWith<$Res> {
_$LoginDataDtoCopyWithImpl(this._value, this._then);
// ignore: unused_field
final $Val _value;
// ignore: unused_field
final $Res Function($Val) _then;
/// Create a copy of LoginDataDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? accessToken = freezed,
Object? refreshToken = freezed,
Object? user = freezed,
}) {
return _then(
_value.copyWith(
accessToken: freezed == accessToken
? _value.accessToken
: accessToken // ignore: cast_nullable_to_non_nullable
as String?,
refreshToken: freezed == refreshToken
? _value.refreshToken
: refreshToken // ignore: cast_nullable_to_non_nullable
as String?,
user: freezed == user
? _value.user
: user // ignore: cast_nullable_to_non_nullable
as UserDto?,
)
as $Val,
);
}
/// Create a copy of LoginDataDto
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$UserDtoCopyWith<$Res>? get user {
if (_value.user == null) {
return null;
}
return $UserDtoCopyWith<$Res>(_value.user!, (value) {
return _then(_value.copyWith(user: value) as $Val);
});
}
}
/// @nodoc
abstract class _$$LoginDataDtoImplCopyWith<$Res>
implements $LoginDataDtoCopyWith<$Res> {
factory _$$LoginDataDtoImplCopyWith(
_$LoginDataDtoImpl value,
$Res Function(_$LoginDataDtoImpl) then,
) = __$$LoginDataDtoImplCopyWithImpl<$Res>;
@override
@useResult
$Res call({
@JsonKey(name: 'access_token') String? accessToken,
@JsonKey(name: 'refresh_token') String? refreshToken,
@JsonKey(name: 'user') UserDto? user,
});
@override
$UserDtoCopyWith<$Res>? get user;
}
/// @nodoc
class __$$LoginDataDtoImplCopyWithImpl<$Res>
extends _$LoginDataDtoCopyWithImpl<$Res, _$LoginDataDtoImpl>
implements _$$LoginDataDtoImplCopyWith<$Res> {
__$$LoginDataDtoImplCopyWithImpl(
_$LoginDataDtoImpl _value,
$Res Function(_$LoginDataDtoImpl) _then,
) : super(_value, _then);
/// Create a copy of LoginDataDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? accessToken = freezed,
Object? refreshToken = freezed,
Object? user = freezed,
}) {
return _then(
_$LoginDataDtoImpl(
accessToken: freezed == accessToken
? _value.accessToken
: accessToken // ignore: cast_nullable_to_non_nullable
as String?,
refreshToken: freezed == refreshToken
? _value.refreshToken
: refreshToken // ignore: cast_nullable_to_non_nullable
as String?,
user: freezed == user
? _value.user
: user // ignore: cast_nullable_to_non_nullable
as UserDto?,
),
);
}
}
/// @nodoc
@JsonSerializable()
class _$LoginDataDtoImpl implements _LoginDataDto {
const _$LoginDataDtoImpl({
@JsonKey(name: 'access_token') this.accessToken,
@JsonKey(name: 'refresh_token') this.refreshToken,
@JsonKey(name: 'user') this.user,
});
factory _$LoginDataDtoImpl.fromJson(Map<String, dynamic> json) =>
_$$LoginDataDtoImplFromJson(json);
@override
@JsonKey(name: 'access_token')
final String? accessToken;
@override
@JsonKey(name: 'refresh_token')
final String? refreshToken;
@override
@JsonKey(name: 'user')
final UserDto? user;
@override
String toString() {
return 'LoginDataDto(accessToken: $accessToken, refreshToken: $refreshToken, user: $user)';
}
@override
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$LoginDataDtoImpl &&
(identical(other.accessToken, accessToken) ||
other.accessToken == accessToken) &&
(identical(other.refreshToken, refreshToken) ||
other.refreshToken == refreshToken) &&
(identical(other.user, user) || other.user == user));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType, accessToken, refreshToken, user);
/// Create a copy of LoginDataDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$LoginDataDtoImplCopyWith<_$LoginDataDtoImpl> get copyWith =>
__$$LoginDataDtoImplCopyWithImpl<_$LoginDataDtoImpl>(this, _$identity);
@override
Map<String, dynamic> toJson() {
return _$$LoginDataDtoImplToJson(this);
}
}
abstract class _LoginDataDto implements LoginDataDto {
const factory _LoginDataDto({
@JsonKey(name: 'access_token') final String? accessToken,
@JsonKey(name: 'refresh_token') final String? refreshToken,
@JsonKey(name: 'user') final UserDto? user,
}) = _$LoginDataDtoImpl;
factory _LoginDataDto.fromJson(Map<String, dynamic> json) =
_$LoginDataDtoImpl.fromJson;
@override
@JsonKey(name: 'access_token')
String? get accessToken;
@override
@JsonKey(name: 'refresh_token')
String? get refreshToken;
@override
@JsonKey(name: 'user')
UserDto? get user;
/// Create a copy of LoginDataDto
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(includeFromJson: false, includeToJson: false)
_$$LoginDataDtoImplCopyWith<_$LoginDataDtoImpl> get copyWith =>
throw _privateConstructorUsedError;
}
UserDto _$UserDtoFromJson(Map<String, dynamic> json) {
return _UserDto.fromJson(json);
}
/// @nodoc
mixin _$UserDto {
@JsonKey(name: 'id')
String? get id => throw _privateConstructorUsedError;
@JsonKey(name: 'name')
String? get name => throw _privateConstructorUsedError;
@JsonKey(name: 'phone_number')
String? get phoneNumber => throw _privateConstructorUsedError;
@JsonKey(name: 'birth_date')
String? get birthDate => throw _privateConstructorUsedError;
/// Serializes this UserDto to a JSON map.
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
/// Create a copy of UserDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$UserDtoCopyWith<UserDto> get copyWith => throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $UserDtoCopyWith<$Res> {
factory $UserDtoCopyWith(UserDto value, $Res Function(UserDto) then) =
_$UserDtoCopyWithImpl<$Res, UserDto>;
@useResult
$Res call({
@JsonKey(name: 'id') String? id,
@JsonKey(name: 'name') String? name,
@JsonKey(name: 'phone_number') String? phoneNumber,
@JsonKey(name: 'birth_date') String? birthDate,
});
}
/// @nodoc
class _$UserDtoCopyWithImpl<$Res, $Val extends UserDto>
implements $UserDtoCopyWith<$Res> {
_$UserDtoCopyWithImpl(this._value, this._then);
// ignore: unused_field
final $Val _value;
// ignore: unused_field
final $Res Function($Val) _then;
/// Create a copy of UserDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? id = freezed,
Object? name = freezed,
Object? phoneNumber = freezed,
Object? birthDate = freezed,
}) {
return _then(
_value.copyWith(
id: freezed == id
? _value.id
: id // ignore: cast_nullable_to_non_nullable
as String?,
name: freezed == name
? _value.name
: name // ignore: cast_nullable_to_non_nullable
as String?,
phoneNumber: freezed == phoneNumber
? _value.phoneNumber
: phoneNumber // ignore: cast_nullable_to_non_nullable
as String?,
birthDate: freezed == birthDate
? _value.birthDate
: birthDate // ignore: cast_nullable_to_non_nullable
as String?,
)
as $Val,
);
}
}
/// @nodoc
abstract class _$$UserDtoImplCopyWith<$Res> implements $UserDtoCopyWith<$Res> {
factory _$$UserDtoImplCopyWith(
_$UserDtoImpl value,
$Res Function(_$UserDtoImpl) then,
) = __$$UserDtoImplCopyWithImpl<$Res>;
@override
@useResult
$Res call({
@JsonKey(name: 'id') String? id,
@JsonKey(name: 'name') String? name,
@JsonKey(name: 'phone_number') String? phoneNumber,
@JsonKey(name: 'birth_date') String? birthDate,
});
}
/// @nodoc
class __$$UserDtoImplCopyWithImpl<$Res>
extends _$UserDtoCopyWithImpl<$Res, _$UserDtoImpl>
implements _$$UserDtoImplCopyWith<$Res> {
__$$UserDtoImplCopyWithImpl(
_$UserDtoImpl _value,
$Res Function(_$UserDtoImpl) _then,
) : super(_value, _then);
/// Create a copy of UserDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? id = freezed,
Object? name = freezed,
Object? phoneNumber = freezed,
Object? birthDate = freezed,
}) {
return _then(
_$UserDtoImpl(
id: freezed == id
? _value.id
: id // ignore: cast_nullable_to_non_nullable
as String?,
name: freezed == name
? _value.name
: name // ignore: cast_nullable_to_non_nullable
as String?,
phoneNumber: freezed == phoneNumber
? _value.phoneNumber
: phoneNumber // ignore: cast_nullable_to_non_nullable
as String?,
birthDate: freezed == birthDate
? _value.birthDate
: birthDate // ignore: cast_nullable_to_non_nullable
as String?,
),
);
}
}
/// @nodoc
@JsonSerializable()
class _$UserDtoImpl extends _UserDto {
const _$UserDtoImpl({
@JsonKey(name: 'id') this.id,
@JsonKey(name: 'name') this.name,
@JsonKey(name: 'phone_number') this.phoneNumber,
@JsonKey(name: 'birth_date') this.birthDate,
}) : super._();
factory _$UserDtoImpl.fromJson(Map<String, dynamic> json) =>
_$$UserDtoImplFromJson(json);
@override
@JsonKey(name: 'id')
final String? id;
@override
@JsonKey(name: 'name')
final String? name;
@override
@JsonKey(name: 'phone_number')
final String? phoneNumber;
@override
@JsonKey(name: 'birth_date')
final String? birthDate;
@override
String toString() {
return 'UserDto(id: $id, name: $name, phoneNumber: $phoneNumber, birthDate: $birthDate)';
}
@override
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$UserDtoImpl &&
(identical(other.id, id) || other.id == id) &&
(identical(other.name, name) || other.name == name) &&
(identical(other.phoneNumber, phoneNumber) ||
other.phoneNumber == phoneNumber) &&
(identical(other.birthDate, birthDate) ||
other.birthDate == birthDate));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode =>
Object.hash(runtimeType, id, name, phoneNumber, birthDate);
/// Create a copy of UserDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$UserDtoImplCopyWith<_$UserDtoImpl> get copyWith =>
__$$UserDtoImplCopyWithImpl<_$UserDtoImpl>(this, _$identity);
@override
Map<String, dynamic> toJson() {
return _$$UserDtoImplToJson(this);
}
}
abstract class _UserDto extends UserDto {
const factory _UserDto({
@JsonKey(name: 'id') final String? id,
@JsonKey(name: 'name') final String? name,
@JsonKey(name: 'phone_number') final String? phoneNumber,
@JsonKey(name: 'birth_date') final String? birthDate,
}) = _$UserDtoImpl;
const _UserDto._() : super._();
factory _UserDto.fromJson(Map<String, dynamic> json) = _$UserDtoImpl.fromJson;
@override
@JsonKey(name: 'id')
String? get id;
@override
@JsonKey(name: 'name')
String? get name;
@override
@JsonKey(name: 'phone_number')
String? get phoneNumber;
@override
@JsonKey(name: 'birth_date')
String? get birthDate;
/// Create a copy of UserDto
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(includeFromJson: false, includeToJson: false)
_$$UserDtoImplCopyWith<_$UserDtoImpl> get copyWith =>
throw _privateConstructorUsedError;
}
ResendDto _$ResendDtoFromJson(Map<String, dynamic> json) {
return _ResendDto.fromJson(json);
}
/// @nodoc
mixin _$ResendDto {
@JsonKey(name: 'status')
String? get status => throw _privateConstructorUsedError;
@JsonKey(name: 'message')
String? get message => throw _privateConstructorUsedError;
@JsonKey(name: 'data')
ResendDataDto? get data => throw _privateConstructorUsedError;
/// Serializes this ResendDto to a JSON map.
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
/// Create a copy of ResendDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$ResendDtoCopyWith<ResendDto> get copyWith =>
throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $ResendDtoCopyWith<$Res> {
factory $ResendDtoCopyWith(ResendDto value, $Res Function(ResendDto) then) =
_$ResendDtoCopyWithImpl<$Res, ResendDto>;
@useResult
$Res call({
@JsonKey(name: 'status') String? status,
@JsonKey(name: 'message') String? message,
@JsonKey(name: 'data') ResendDataDto? data,
});
$ResendDataDtoCopyWith<$Res>? get data;
}
/// @nodoc
class _$ResendDtoCopyWithImpl<$Res, $Val extends ResendDto>
implements $ResendDtoCopyWith<$Res> {
_$ResendDtoCopyWithImpl(this._value, this._then);
// ignore: unused_field
final $Val _value;
// ignore: unused_field
final $Res Function($Val) _then;
/// Create a copy of ResendDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? status = freezed,
Object? message = freezed,
Object? data = freezed,
}) {
return _then(
_value.copyWith(
status: freezed == status
? _value.status
: status // ignore: cast_nullable_to_non_nullable
as String?,
message: freezed == message
? _value.message
: message // ignore: cast_nullable_to_non_nullable
as String?,
data: freezed == data
? _value.data
: data // ignore: cast_nullable_to_non_nullable
as ResendDataDto?,
)
as $Val,
);
}
/// Create a copy of ResendDto
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$ResendDataDtoCopyWith<$Res>? get data {
if (_value.data == null) {
return null;
}
return $ResendDataDtoCopyWith<$Res>(_value.data!, (value) {
return _then(_value.copyWith(data: value) as $Val);
});
}
}
/// @nodoc
abstract class _$$ResendDtoImplCopyWith<$Res>
implements $ResendDtoCopyWith<$Res> {
factory _$$ResendDtoImplCopyWith(
_$ResendDtoImpl value,
$Res Function(_$ResendDtoImpl) then,
) = __$$ResendDtoImplCopyWithImpl<$Res>;
@override
@useResult
$Res call({
@JsonKey(name: 'status') String? status,
@JsonKey(name: 'message') String? message,
@JsonKey(name: 'data') ResendDataDto? data,
});
@override
$ResendDataDtoCopyWith<$Res>? get data;
}
/// @nodoc
class __$$ResendDtoImplCopyWithImpl<$Res>
extends _$ResendDtoCopyWithImpl<$Res, _$ResendDtoImpl>
implements _$$ResendDtoImplCopyWith<$Res> {
__$$ResendDtoImplCopyWithImpl(
_$ResendDtoImpl _value,
$Res Function(_$ResendDtoImpl) _then,
) : super(_value, _then);
/// Create a copy of ResendDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? status = freezed,
Object? message = freezed,
Object? data = freezed,
}) {
return _then(
_$ResendDtoImpl(
status: freezed == status
? _value.status
: status // ignore: cast_nullable_to_non_nullable
as String?,
message: freezed == message
? _value.message
: message // ignore: cast_nullable_to_non_nullable
as String?,
data: freezed == data
? _value.data
: data // ignore: cast_nullable_to_non_nullable
as ResendDataDto?,
),
);
}
}
/// @nodoc
@JsonSerializable()
class _$ResendDtoImpl extends _ResendDto {
const _$ResendDtoImpl({
@JsonKey(name: 'status') this.status,
@JsonKey(name: 'message') this.message,
@JsonKey(name: 'data') this.data,
}) : super._();
factory _$ResendDtoImpl.fromJson(Map<String, dynamic> json) =>
_$$ResendDtoImplFromJson(json);
@override
@JsonKey(name: 'status')
final String? status;
@override
@JsonKey(name: 'message')
final String? message;
@override
@JsonKey(name: 'data')
final ResendDataDto? data;
@override
String toString() {
return 'ResendDto(status: $status, message: $message, data: $data)';
}
@override
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$ResendDtoImpl &&
(identical(other.status, status) || other.status == status) &&
(identical(other.message, message) || other.message == message) &&
(identical(other.data, data) || other.data == data));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType, status, message, data);
/// Create a copy of ResendDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$ResendDtoImplCopyWith<_$ResendDtoImpl> get copyWith =>
__$$ResendDtoImplCopyWithImpl<_$ResendDtoImpl>(this, _$identity);
@override
Map<String, dynamic> toJson() {
return _$$ResendDtoImplToJson(this);
}
}
abstract class _ResendDto extends ResendDto {
const factory _ResendDto({
@JsonKey(name: 'status') final String? status,
@JsonKey(name: 'message') final String? message,
@JsonKey(name: 'data') final ResendDataDto? data,
}) = _$ResendDtoImpl;
const _ResendDto._() : super._();
factory _ResendDto.fromJson(Map<String, dynamic> json) =
_$ResendDtoImpl.fromJson;
@override
@JsonKey(name: 'status')
String? get status;
@override
@JsonKey(name: 'message')
String? get message;
@override
@JsonKey(name: 'data')
ResendDataDto? get data;
/// Create a copy of ResendDto
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(includeFromJson: false, includeToJson: false)
_$$ResendDtoImplCopyWith<_$ResendDtoImpl> get copyWith =>
throw _privateConstructorUsedError;
}
ResendDataDto _$ResendDataDtoFromJson(Map<String, dynamic> json) {
return _ResendDataDto.fromJson(json);
}
/// @nodoc
mixin _$ResendDataDto {
@JsonKey(name: 'otp_token')
String? get otpToken => throw _privateConstructorUsedError;
@JsonKey(name: 'expires_in')
int? get expiresIn => throw _privateConstructorUsedError;
@JsonKey(name: 'next_resend_in')
int? get nextResendIn => throw _privateConstructorUsedError;
/// Serializes this ResendDataDto to a JSON map.
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
/// Create a copy of ResendDataDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$ResendDataDtoCopyWith<ResendDataDto> get copyWith =>
throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $ResendDataDtoCopyWith<$Res> {
factory $ResendDataDtoCopyWith(
ResendDataDto value,
$Res Function(ResendDataDto) then,
) = _$ResendDataDtoCopyWithImpl<$Res, ResendDataDto>;
@useResult
$Res call({
@JsonKey(name: 'otp_token') String? otpToken,
@JsonKey(name: 'expires_in') int? expiresIn,
@JsonKey(name: 'next_resend_in') int? nextResendIn,
});
}
/// @nodoc
class _$ResendDataDtoCopyWithImpl<$Res, $Val extends ResendDataDto>
implements $ResendDataDtoCopyWith<$Res> {
_$ResendDataDtoCopyWithImpl(this._value, this._then);
// ignore: unused_field
final $Val _value;
// ignore: unused_field
final $Res Function($Val) _then;
/// Create a copy of ResendDataDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? otpToken = freezed,
Object? expiresIn = freezed,
Object? nextResendIn = freezed,
}) {
return _then(
_value.copyWith(
otpToken: freezed == otpToken
? _value.otpToken
: otpToken // ignore: cast_nullable_to_non_nullable
as String?,
expiresIn: freezed == expiresIn
? _value.expiresIn
: expiresIn // ignore: cast_nullable_to_non_nullable
as int?,
nextResendIn: freezed == nextResendIn
? _value.nextResendIn
: nextResendIn // ignore: cast_nullable_to_non_nullable
as int?,
)
as $Val,
);
}
}
/// @nodoc
abstract class _$$ResendDataDtoImplCopyWith<$Res>
implements $ResendDataDtoCopyWith<$Res> {
factory _$$ResendDataDtoImplCopyWith(
_$ResendDataDtoImpl value,
$Res Function(_$ResendDataDtoImpl) then,
) = __$$ResendDataDtoImplCopyWithImpl<$Res>;
@override
@useResult
$Res call({
@JsonKey(name: 'otp_token') String? otpToken,
@JsonKey(name: 'expires_in') int? expiresIn,
@JsonKey(name: 'next_resend_in') int? nextResendIn,
});
}
/// @nodoc
class __$$ResendDataDtoImplCopyWithImpl<$Res>
extends _$ResendDataDtoCopyWithImpl<$Res, _$ResendDataDtoImpl>
implements _$$ResendDataDtoImplCopyWith<$Res> {
__$$ResendDataDtoImplCopyWithImpl(
_$ResendDataDtoImpl _value,
$Res Function(_$ResendDataDtoImpl) _then,
) : super(_value, _then);
/// Create a copy of ResendDataDto
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? otpToken = freezed,
Object? expiresIn = freezed,
Object? nextResendIn = freezed,
}) {
return _then(
_$ResendDataDtoImpl(
otpToken: freezed == otpToken
? _value.otpToken
: otpToken // ignore: cast_nullable_to_non_nullable
as String?,
expiresIn: freezed == expiresIn
? _value.expiresIn
: expiresIn // ignore: cast_nullable_to_non_nullable
as int?,
nextResendIn: freezed == nextResendIn
? _value.nextResendIn
: nextResendIn // ignore: cast_nullable_to_non_nullable
as int?,
),
);
}
}
/// @nodoc
@JsonSerializable()
class _$ResendDataDtoImpl implements _ResendDataDto {
const _$ResendDataDtoImpl({
@JsonKey(name: 'otp_token') this.otpToken,
@JsonKey(name: 'expires_in') this.expiresIn,
@JsonKey(name: 'next_resend_in') this.nextResendIn,
});
factory _$ResendDataDtoImpl.fromJson(Map<String, dynamic> json) =>
_$$ResendDataDtoImplFromJson(json);
@override
@JsonKey(name: 'otp_token')
final String? otpToken;
@override
@JsonKey(name: 'expires_in')
final int? expiresIn;
@override
@JsonKey(name: 'next_resend_in')
final int? nextResendIn;
@override
String toString() {
return 'ResendDataDto(otpToken: $otpToken, expiresIn: $expiresIn, nextResendIn: $nextResendIn)';
}
@override
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$ResendDataDtoImpl &&
(identical(other.otpToken, otpToken) ||
other.otpToken == otpToken) &&
(identical(other.expiresIn, expiresIn) ||
other.expiresIn == expiresIn) &&
(identical(other.nextResendIn, nextResendIn) ||
other.nextResendIn == nextResendIn));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode =>
Object.hash(runtimeType, otpToken, expiresIn, nextResendIn);
/// Create a copy of ResendDataDto
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$ResendDataDtoImplCopyWith<_$ResendDataDtoImpl> get copyWith =>
__$$ResendDataDtoImplCopyWithImpl<_$ResendDataDtoImpl>(this, _$identity);
@override
Map<String, dynamic> toJson() {
return _$$ResendDataDtoImplToJson(this);
}
}
abstract class _ResendDataDto implements ResendDataDto {
const factory _ResendDataDto({
@JsonKey(name: 'otp_token') final String? otpToken,
@JsonKey(name: 'expires_in') final int? expiresIn,
@JsonKey(name: 'next_resend_in') final int? nextResendIn,
}) = _$ResendDataDtoImpl;
factory _ResendDataDto.fromJson(Map<String, dynamic> json) =
_$ResendDataDtoImpl.fromJson;
@override
@JsonKey(name: 'otp_token')
String? get otpToken;
@override
@JsonKey(name: 'expires_in')
int? get expiresIn;
@override
@JsonKey(name: 'next_resend_in')
int? get nextResendIn;
/// Create a copy of ResendDataDto
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(includeFromJson: false, includeToJson: false)
_$$ResendDataDtoImplCopyWith<_$ResendDataDtoImpl> get copyWith =>
throw _privateConstructorUsedError;
}