initializeWithBiometric method
Initialize with biometric authentication
Implementation
Future<void> initializeWithBiometric() async {
final apiKey = await SecurityManager.getApiKeyWithBiometric();
if (apiKey == null) {
throw Exception('Biometric authentication failed or API key not found');
}
await initialize(apiKey: apiKey);
}