takePicture method

Future<String?> takePicture()

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;
}