logout method
Implementation
Future<Result<bool, Exception>> logout() async {
final result = await _flutterAuthApi.logout(_appName);
if (result.isSuccess != true) {
return Result.failure(Exception(result.error));
}
return Result.success(result.isLoggedOut == true);
}