nsfwDetection method

  1. @override
Future<String> nsfwDetection({
  1. required Uint8List image,
})
override

Implementation

@override
Future<String> nsfwDetection({required Uint8List image}) async {
  final nsfw = await methodChannel
      .invokeMethod<String>('nsfwDetection', {"image": image});
  return nsfw!;
}