takePhotoFromElement method
Captures a still image from a rendered video element.
Implementation
Future<CapturedMedia> takePhotoFromElement(
String elementId, {
String mimeType = 'image/png',
double? quality,
String? filename,
}) {
return Future.error(
UnsupportedError('Photo capture is only available in a browser.'),
);
}