```dart Future signOutCurrentUser() async { try { await Amplify.Auth.signOut(); } on AuthException catch (e) { print(e.message); } } ```