Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedLSayed9 committed Sep 9, 2023
1 parent eb82431 commit 8ecc958
Show file tree
Hide file tree
Showing 89 changed files with 575 additions and 1,031 deletions.
17 changes: 6 additions & 11 deletions lib/auth/domain/sign_in_with_email.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,12 @@ mixin _$SignInWithEmail {
String get password => throw _privateConstructorUsedError;

@JsonKey(ignore: true)
$SignInWithEmailCopyWith<SignInWithEmail> get copyWith =>
throw _privateConstructorUsedError;
$SignInWithEmailCopyWith<SignInWithEmail> get copyWith => throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $SignInWithEmailCopyWith<$Res> {
factory $SignInWithEmailCopyWith(
SignInWithEmail value, $Res Function(SignInWithEmail) then) =
factory $SignInWithEmailCopyWith(SignInWithEmail value, $Res Function(SignInWithEmail) then) =
_$SignInWithEmailCopyWithImpl<$Res, SignInWithEmail>;
@useResult
$Res call({String email, String password});
Expand Down Expand Up @@ -65,8 +63,7 @@ class _$SignInWithEmailCopyWithImpl<$Res, $Val extends SignInWithEmail>
}

/// @nodoc
abstract class _$$_SignInWithEmailCopyWith<$Res>
implements $SignInWithEmailCopyWith<$Res> {
abstract class _$$_SignInWithEmailCopyWith<$Res> implements $SignInWithEmailCopyWith<$Res> {
factory _$$_SignInWithEmailCopyWith(
_$_SignInWithEmail value, $Res Function(_$_SignInWithEmail) then) =
__$$_SignInWithEmailCopyWithImpl<$Res>;
Expand Down Expand Up @@ -125,8 +122,7 @@ class _$_SignInWithEmail implements _SignInWithEmail {
(other.runtimeType == runtimeType &&
other is _$_SignInWithEmail &&
(identical(other.email, email) || other.email == email) &&
(identical(other.password, password) ||
other.password == password));
(identical(other.password, password) || other.password == password));
}

@override
Expand All @@ -140,9 +136,8 @@ class _$_SignInWithEmail implements _SignInWithEmail {
}

abstract class _SignInWithEmail implements SignInWithEmail {
const factory _SignInWithEmail(
{required final String email,
required final String password}) = _$_SignInWithEmail;
const factory _SignInWithEmail({required final String email, required final String password}) =
_$_SignInWithEmail;

@override // Note: You should consider using separate value object (with its validator method)
// for these values if they're used in other entities.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 7 additions & 14 deletions lib/auth/infrastructure/dtos/user_dto.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,11 @@ abstract class $UserDtoCopyWith<$Res> {
factory $UserDtoCopyWith(UserDto value, $Res Function(UserDto) then) =
_$UserDtoCopyWithImpl<$Res, UserDto>;
@useResult
$Res call(
{String id, String email, String? name, String? phone, String? image});
$Res call({String id, String email, String? name, String? phone, String? image});
}

/// @nodoc
class _$UserDtoCopyWithImpl<$Res, $Val extends UserDto>
implements $UserDtoCopyWith<$Res> {
class _$UserDtoCopyWithImpl<$Res, $Val extends UserDto> implements $UserDtoCopyWith<$Res> {
_$UserDtoCopyWithImpl(this._value, this._then);

// ignore: unused_field
Expand Down Expand Up @@ -86,18 +84,15 @@ class _$UserDtoCopyWithImpl<$Res, $Val extends UserDto>

/// @nodoc
abstract class _$$_UserDtoCopyWith<$Res> implements $UserDtoCopyWith<$Res> {
factory _$$_UserDtoCopyWith(
_$_UserDto value, $Res Function(_$_UserDto) then) =
factory _$$_UserDtoCopyWith(_$_UserDto value, $Res Function(_$_UserDto) then) =
__$$_UserDtoCopyWithImpl<$Res>;
@override
@useResult
$Res call(
{String id, String email, String? name, String? phone, String? image});
$Res call({String id, String email, String? name, String? phone, String? image});
}

/// @nodoc
class __$$_UserDtoCopyWithImpl<$Res>
extends _$UserDtoCopyWithImpl<$Res, _$_UserDto>
class __$$_UserDtoCopyWithImpl<$Res> extends _$UserDtoCopyWithImpl<$Res, _$_UserDto>
implements _$$_UserDtoCopyWith<$Res> {
__$$_UserDtoCopyWithImpl(_$_UserDto _value, $Res Function(_$_UserDto) _then)
: super(_value, _then);
Expand Down Expand Up @@ -147,8 +142,7 @@ class _$_UserDto extends _UserDto {
required this.image})
: super._();

factory _$_UserDto.fromJson(Map<String, dynamic> json) =>
_$$_UserDtoFromJson(json);
factory _$_UserDto.fromJson(Map<String, dynamic> json) => _$$_UserDtoFromJson(json);

@override
final String id;
Expand Down Expand Up @@ -219,6 +213,5 @@ abstract class _UserDto extends UserDto {
String? get image;
@override
@JsonKey(ignore: true)
_$$_UserDtoCopyWith<_$_UserDto> get copyWith =>
throw _privateConstructorUsedError;
_$$_UserDtoCopyWith<_$_UserDto> get copyWith => throw _privateConstructorUsedError;
}
3 changes: 1 addition & 2 deletions lib/auth/infrastructure/dtos/user_dto.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions lib/auth/infrastructure/repos/auth_repo.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions lib/auth/presentation/providers/auth_state_provider.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions lib/auth/presentation/providers/check_auth_provider.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 8 additions & 14 deletions lib/auth/presentation/providers/sign_in_provider.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions lib/auth/presentation/providers/sign_out_provider.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8ecc958

Please sign in to comment.