capturePhoto method

Future<Uint8List?> capturePhoto()

Captures a photo and returns the raw bytes or file path

Implementation

Future<Uint8List?> capturePhoto() async {
  return await _channel.invokeMethod<Uint8List>('capturePhoto');
}