Skip to content

Commit

Permalink
fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SankethBK committed Oct 10, 2023
1 parent d8f7cee commit 40a2ce1
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 31 deletions.
6 changes: 3 additions & 3 deletions lib/features/auth/presentation/widgets/security_settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';

import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:simple_accordion/widgets/accordion_header_item.dart';
import 'package:simple_accordion/widgets/accordion_item.dart';
import 'package:simple_accordion/widgets/accordion_widget.dart';
import 'package:simple_accordion/widgets/AccordionHeaderItem.dart';
import 'package:simple_accordion/widgets/AccordionItem.dart';
import 'package:simple_accordion/widgets/AccordionWidget.dart';

// ignore: must_be_immutable
class SecuritySettings extends StatelessWidget {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ class MockIAuthenticationRepository extends _i1.Mock
#password: password,
},
),
returnValue: _i5
.Future<_i2.Either<_i6.SignUpFailure, _i7.LoggedInUser>>.value(
returnValue: _i5.Future<
_i2.Either<_i6.SignUpFailure, _i7.LoggedInUser>>.value(
_FakeEither_0<_i6.SignUpFailure, _i7.LoggedInUser>(
this,
Invocation.method(
Expand Down Expand Up @@ -107,8 +107,8 @@ class MockIAuthenticationRepository extends _i1.Mock
#password: password,
},
),
returnValue: _i5
.Future<_i2.Either<_i6.SignInFailure, _i7.LoggedInUser>>.value(
returnValue: _i5.Future<
_i2.Either<_i6.SignInFailure, _i7.LoggedInUser>>.value(
_FakeEither_0<_i6.SignInFailure, _i7.LoggedInUser>(
this,
Invocation.method(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ class MockIAuthenticationRepository extends _i1.Mock
#password: password,
},
),
returnValue: _i6
.Future<_i2.Either<_i7.SignUpFailure, _i8.LoggedInUser>>.value(
returnValue: _i6.Future<
_i2.Either<_i7.SignUpFailure, _i8.LoggedInUser>>.value(
_FakeEither_0<_i7.SignUpFailure, _i8.LoggedInUser>(
this,
Invocation.method(
Expand Down Expand Up @@ -127,8 +127,8 @@ class MockIAuthenticationRepository extends _i1.Mock
#password: password,
},
),
returnValue: _i6
.Future<_i2.Either<_i7.SignInFailure, _i8.LoggedInUser>>.value(
returnValue: _i6.Future<
_i2.Either<_i7.SignInFailure, _i8.LoggedInUser>>.value(
_FakeEither_0<_i7.SignInFailure, _i8.LoggedInUser>(
this,
Invocation.method(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -497,23 +497,24 @@ class MockAuthenticationRepository extends _i1.Mock
)),
) as _i12.Future<_i10.Either<_i15.SignInFailure, _i16.LoggedInUser>>);
@override
_i12.Future<_i10.Either<_i15.ForgotPasswordFailure, bool>>
submitForgotPasswordEmail(String? forgotPasswordEmail) =>
(super.noSuchMethod(
Invocation.method(
#submitForgotPasswordEmail,
[forgotPasswordEmail],
),
returnValue: _i12
.Future<_i10.Either<_i15.ForgotPasswordFailure, bool>>.value(
_i12.Future<
_i10.Either<_i15.ForgotPasswordFailure, bool>> submitForgotPasswordEmail(
String? forgotPasswordEmail) =>
(super.noSuchMethod(
Invocation.method(
#submitForgotPasswordEmail,
[forgotPasswordEmail],
),
returnValue:
_i12.Future<_i10.Either<_i15.ForgotPasswordFailure, bool>>.value(
_FakeEither_8<_i15.ForgotPasswordFailure, bool>(
this,
Invocation.method(
#submitForgotPasswordEmail,
[forgotPasswordEmail],
),
)),
) as _i12.Future<_i10.Either<_i15.ForgotPasswordFailure, bool>>);
this,
Invocation.method(
#submitForgotPasswordEmail,
[forgotPasswordEmail],
),
)),
) as _i12.Future<_i10.Either<_i15.ForgotPasswordFailure, bool>>);
@override
_i12.Future<_i10.Either<_i15.SignUpFailure, bool>> updateEmail({
required String? oldEmail,
Expand Down Expand Up @@ -588,8 +589,8 @@ class MockSignUpWithEmailAndPassword extends _i1.Mock
#call,
[params],
),
returnValue: _i12
.Future<_i10.Either<_i15.SignUpFailure, _i16.LoggedInUser>>.value(
returnValue: _i12.Future<
_i10.Either<_i15.SignUpFailure, _i16.LoggedInUser>>.value(
_FakeEither_8<_i15.SignUpFailure, _i16.LoggedInUser>(
this,
Invocation.method(
Expand Down Expand Up @@ -634,8 +635,8 @@ class MockSignInWithEmailAndPassword extends _i1.Mock
#call,
[params],
),
returnValue: _i12
.Future<_i10.Either<_i15.SignInFailure, _i16.LoggedInUser>>.value(
returnValue: _i12.Future<
_i10.Either<_i15.SignInFailure, _i16.LoggedInUser>>.value(
_FakeEither_8<_i15.SignInFailure, _i16.LoggedInUser>(
this,
Invocation.method(
Expand Down

0 comments on commit 40a2ce1

Please sign in to comment.