|
|
|
@@ -192,6 +192,238 @@ abstract class _CheckPhone implements CheckPhone {
|
|
|
|
|
throw _privateConstructorUsedError;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// @nodoc
|
|
|
|
|
mixin _$Register {
|
|
|
|
|
String get status => throw _privateConstructorUsedError;
|
|
|
|
|
String get message => throw _privateConstructorUsedError;
|
|
|
|
|
String get registrationToken => throw _privateConstructorUsedError;
|
|
|
|
|
String get otpToken => throw _privateConstructorUsedError;
|
|
|
|
|
int get expiresIn => throw _privateConstructorUsedError;
|
|
|
|
|
|
|
|
|
|
/// Create a copy of Register
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
$RegisterCopyWith<Register> get copyWith =>
|
|
|
|
|
throw _privateConstructorUsedError;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// @nodoc
|
|
|
|
|
abstract class $RegisterCopyWith<$Res> {
|
|
|
|
|
factory $RegisterCopyWith(Register value, $Res Function(Register) then) =
|
|
|
|
|
_$RegisterCopyWithImpl<$Res, Register>;
|
|
|
|
|
@useResult
|
|
|
|
|
$Res call({
|
|
|
|
|
String status,
|
|
|
|
|
String message,
|
|
|
|
|
String registrationToken,
|
|
|
|
|
String otpToken,
|
|
|
|
|
int expiresIn,
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// @nodoc
|
|
|
|
|
class _$RegisterCopyWithImpl<$Res, $Val extends Register>
|
|
|
|
|
implements $RegisterCopyWith<$Res> {
|
|
|
|
|
_$RegisterCopyWithImpl(this._value, this._then);
|
|
|
|
|
|
|
|
|
|
// ignore: unused_field
|
|
|
|
|
final $Val _value;
|
|
|
|
|
// ignore: unused_field
|
|
|
|
|
final $Res Function($Val) _then;
|
|
|
|
|
|
|
|
|
|
/// Create a copy of Register
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@pragma('vm:prefer-inline')
|
|
|
|
|
@override
|
|
|
|
|
$Res call({
|
|
|
|
|
Object? status = null,
|
|
|
|
|
Object? message = null,
|
|
|
|
|
Object? registrationToken = null,
|
|
|
|
|
Object? otpToken = null,
|
|
|
|
|
Object? expiresIn = null,
|
|
|
|
|
}) {
|
|
|
|
|
return _then(
|
|
|
|
|
_value.copyWith(
|
|
|
|
|
status: null == status
|
|
|
|
|
? _value.status
|
|
|
|
|
: status // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String,
|
|
|
|
|
message: null == message
|
|
|
|
|
? _value.message
|
|
|
|
|
: message // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String,
|
|
|
|
|
registrationToken: null == registrationToken
|
|
|
|
|
? _value.registrationToken
|
|
|
|
|
: registrationToken // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String,
|
|
|
|
|
otpToken: null == otpToken
|
|
|
|
|
? _value.otpToken
|
|
|
|
|
: otpToken // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String,
|
|
|
|
|
expiresIn: null == expiresIn
|
|
|
|
|
? _value.expiresIn
|
|
|
|
|
: expiresIn // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int,
|
|
|
|
|
)
|
|
|
|
|
as $Val,
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// @nodoc
|
|
|
|
|
abstract class _$$RegisterImplCopyWith<$Res>
|
|
|
|
|
implements $RegisterCopyWith<$Res> {
|
|
|
|
|
factory _$$RegisterImplCopyWith(
|
|
|
|
|
_$RegisterImpl value,
|
|
|
|
|
$Res Function(_$RegisterImpl) then,
|
|
|
|
|
) = __$$RegisterImplCopyWithImpl<$Res>;
|
|
|
|
|
@override
|
|
|
|
|
@useResult
|
|
|
|
|
$Res call({
|
|
|
|
|
String status,
|
|
|
|
|
String message,
|
|
|
|
|
String registrationToken,
|
|
|
|
|
String otpToken,
|
|
|
|
|
int expiresIn,
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// @nodoc
|
|
|
|
|
class __$$RegisterImplCopyWithImpl<$Res>
|
|
|
|
|
extends _$RegisterCopyWithImpl<$Res, _$RegisterImpl>
|
|
|
|
|
implements _$$RegisterImplCopyWith<$Res> {
|
|
|
|
|
__$$RegisterImplCopyWithImpl(
|
|
|
|
|
_$RegisterImpl _value,
|
|
|
|
|
$Res Function(_$RegisterImpl) _then,
|
|
|
|
|
) : super(_value, _then);
|
|
|
|
|
|
|
|
|
|
/// Create a copy of Register
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@pragma('vm:prefer-inline')
|
|
|
|
|
@override
|
|
|
|
|
$Res call({
|
|
|
|
|
Object? status = null,
|
|
|
|
|
Object? message = null,
|
|
|
|
|
Object? registrationToken = null,
|
|
|
|
|
Object? otpToken = null,
|
|
|
|
|
Object? expiresIn = null,
|
|
|
|
|
}) {
|
|
|
|
|
return _then(
|
|
|
|
|
_$RegisterImpl(
|
|
|
|
|
status: null == status
|
|
|
|
|
? _value.status
|
|
|
|
|
: status // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String,
|
|
|
|
|
message: null == message
|
|
|
|
|
? _value.message
|
|
|
|
|
: message // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String,
|
|
|
|
|
registrationToken: null == registrationToken
|
|
|
|
|
? _value.registrationToken
|
|
|
|
|
: registrationToken // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String,
|
|
|
|
|
otpToken: null == otpToken
|
|
|
|
|
? _value.otpToken
|
|
|
|
|
: otpToken // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String,
|
|
|
|
|
expiresIn: null == expiresIn
|
|
|
|
|
? _value.expiresIn
|
|
|
|
|
: expiresIn // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int,
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// @nodoc
|
|
|
|
|
|
|
|
|
|
class _$RegisterImpl implements _Register {
|
|
|
|
|
const _$RegisterImpl({
|
|
|
|
|
required this.status,
|
|
|
|
|
required this.message,
|
|
|
|
|
required this.registrationToken,
|
|
|
|
|
required this.otpToken,
|
|
|
|
|
required this.expiresIn,
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
final String status;
|
|
|
|
|
@override
|
|
|
|
|
final String message;
|
|
|
|
|
@override
|
|
|
|
|
final String registrationToken;
|
|
|
|
|
@override
|
|
|
|
|
final String otpToken;
|
|
|
|
|
@override
|
|
|
|
|
final int expiresIn;
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
String toString() {
|
|
|
|
|
return 'Register(status: $status, message: $message, registrationToken: $registrationToken, otpToken: $otpToken, expiresIn: $expiresIn)';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
|
return identical(this, other) ||
|
|
|
|
|
(other.runtimeType == runtimeType &&
|
|
|
|
|
other is _$RegisterImpl &&
|
|
|
|
|
(identical(other.status, status) || other.status == status) &&
|
|
|
|
|
(identical(other.message, message) || other.message == message) &&
|
|
|
|
|
(identical(other.registrationToken, registrationToken) ||
|
|
|
|
|
other.registrationToken == registrationToken) &&
|
|
|
|
|
(identical(other.otpToken, otpToken) ||
|
|
|
|
|
other.otpToken == otpToken) &&
|
|
|
|
|
(identical(other.expiresIn, expiresIn) ||
|
|
|
|
|
other.expiresIn == expiresIn));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
int get hashCode => Object.hash(
|
|
|
|
|
runtimeType,
|
|
|
|
|
status,
|
|
|
|
|
message,
|
|
|
|
|
registrationToken,
|
|
|
|
|
otpToken,
|
|
|
|
|
expiresIn,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
/// Create a copy of Register
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
@override
|
|
|
|
|
@pragma('vm:prefer-inline')
|
|
|
|
|
_$$RegisterImplCopyWith<_$RegisterImpl> get copyWith =>
|
|
|
|
|
__$$RegisterImplCopyWithImpl<_$RegisterImpl>(this, _$identity);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
abstract class _Register implements Register {
|
|
|
|
|
const factory _Register({
|
|
|
|
|
required final String status,
|
|
|
|
|
required final String message,
|
|
|
|
|
required final String registrationToken,
|
|
|
|
|
required final String otpToken,
|
|
|
|
|
required final int expiresIn,
|
|
|
|
|
}) = _$RegisterImpl;
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
String get status;
|
|
|
|
|
@override
|
|
|
|
|
String get message;
|
|
|
|
|
@override
|
|
|
|
|
String get registrationToken;
|
|
|
|
|
@override
|
|
|
|
|
String get otpToken;
|
|
|
|
|
@override
|
|
|
|
|
int get expiresIn;
|
|
|
|
|
|
|
|
|
|
/// Create a copy of Register
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@override
|
|
|
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
_$$RegisterImplCopyWith<_$RegisterImpl> get copyWith =>
|
|
|
|
|
throw _privateConstructorUsedError;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// @nodoc
|
|
|
|
|
mixin _$AuthFailure {
|
|
|
|
|
@optionalTypeArgs
|
|
|
|
|