takePhoto method
Take a photo and save to the specified path. Returns the saved file path.
Implementation
@override
Future<String?> takePhoto(String savePath) async {
final result = await methodChannel.invokeMethod<String>('takePhoto', {
'savePath': savePath,
});
return result;
}