diff --git a/example/lib/interfaces/debug_auth_interface.dart b/example/lib/interfaces/debug_auth_interface.dart index a08b92a..ec9f2d9 100644 --- a/example/lib/interfaces/debug_auth_interface.dart +++ b/example/lib/interfaces/debug_auth_interface.dart @@ -32,7 +32,7 @@ class DebugAuthInterface _isSignedIn = false; - return Result.ok(null); + return const Result.ok(null); } @override @@ -42,7 +42,7 @@ class DebugAuthInterface }) async { final bool alreadyLoggedIn = await isSignedIn; - if (alreadyLoggedIn) return Result.ok(null); + if (alreadyLoggedIn) return const Result.ok(null); final credentials = input as Credentials; @@ -53,7 +53,7 @@ class DebugAuthInterface _isSignedIn = true; - return Result.ok(null); + return const Result.ok(null); } @override @@ -61,7 +61,7 @@ class DebugAuthInterface T? input, }) async { Arcane.log("Re-sending verification code to $input"); - return Result.ok("Code sent"); + return const Result.ok("Code sent"); } @override @@ -77,7 +77,7 @@ class DebugAuthInterface Arcane.log("Creating account for $email with password $password"); } - return Result.ok(SignUpStep.confirmSignUp); + return const Result.ok(SignUpStep.confirmSignUp); } @override @@ -88,7 +88,7 @@ class DebugAuthInterface Arcane.log( "Confirming registration for $username with code $confirmationCode", ); - return Result.ok(true); + return const Result.ok(true); } @override @@ -98,7 +98,7 @@ class DebugAuthInterface String? code, }) async { Arcane.log("Resetting password for $email"); - return Result.ok(true); + return const Result.ok(true); } @override diff --git a/pubspec.yaml b/pubspec.yaml index f55da3a..2d6219d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -25,6 +25,3 @@ dev_dependencies: flutter_test: sdk: flutter mockito: ^5.4.5 - -dependency_overrides: - analyzer: 7.3.0