Captures an image and returns the file where it was saved.
@override Future<XFile> takePicture(int cameraId) async { final String path = await _hostApi.takePicture(); return XFile(path); }