analyzeImage method
Analyzes an image for sensitive content.
Returns a bool
indicating whether the image is sensitive.
Implementation
@override
Future<bool> analyzeImage(Uint8List file) async {
try {
final dynamic isSensitive =
await methodChannel.invokeMethod('analyzeImage', file);
return isSensitive;
} on PlatformException catch (e) {
debugPrint(e.message);
return false;
}
}