takePicture method
Captures a static image and returns its path.
Implementation
@override
Future<String?> takePicture() async {
try {
return await _channel.invokeMethod<String>('takePicture');
} on PlatformException catch (e) {
throw PlatformException(
code: e.code,
message: 'Windows takePicture error: ${e.message}',
details: e.details,
);
}
}