From 30b578708bf18f6e249d985640e6d6909103d6b7 Mon Sep 17 00:00:00 2001 From: Hans Kokx Date: Wed, 13 May 2026 14:19:01 +0200 Subject: [PATCH] Remove unnecessary 'const' keyword from Result.ok calls in DebugAuthInterface methods Signed-off-by: Hans Kokx --- example/lib/interfaces/debug_auth_interface.dart | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/example/lib/interfaces/debug_auth_interface.dart b/example/lib/interfaces/debug_auth_interface.dart index ec9f2d9..a08b92a 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 const Result.ok(null); + return Result.ok(null); } @override @@ -42,7 +42,7 @@ class DebugAuthInterface }) async { final bool alreadyLoggedIn = await isSignedIn; - if (alreadyLoggedIn) return const Result.ok(null); + if (alreadyLoggedIn) return Result.ok(null); final credentials = input as Credentials; @@ -53,7 +53,7 @@ class DebugAuthInterface _isSignedIn = true; - return const Result.ok(null); + return Result.ok(null); } @override @@ -61,7 +61,7 @@ class DebugAuthInterface T? input, }) async { Arcane.log("Re-sending verification code to $input"); - return const Result.ok("Code sent"); + return Result.ok("Code sent"); } @override @@ -77,7 +77,7 @@ class DebugAuthInterface Arcane.log("Creating account for $email with password $password"); } - return const Result.ok(SignUpStep.confirmSignUp); + return Result.ok(SignUpStep.confirmSignUp); } @override @@ -88,7 +88,7 @@ class DebugAuthInterface Arcane.log( "Confirming registration for $username with code $confirmationCode", ); - return const Result.ok(true); + return Result.ok(true); } @override @@ -98,7 +98,7 @@ class DebugAuthInterface String? code, }) async { Arcane.log("Resetting password for $email"); - return const Result.ok(true); + return Result.ok(true); } @override