validateApiKey method
Validate API key format using native validation
Implementation
Future<bool> validateApiKey(String apiKey) async {
try {
final result = await _channel.invokeMethod<bool>('validateApiKey', {
'apiKey': apiKey,
});
return result ?? false;
} on PlatformException {
return false;
}
}