takePicture method
Captures a static image and saves it to the temporary directory. Returns the file path of the captured image.
Implementation
Future<String?> takePicture() async {
final String? path = await _channel.invokeMethod('takePicture');
return path;
}