takePhoto 方法
- [Map? photoSettings]
实现
Future<Blob> takePhoto([Map? photoSettings]) {
var photoSettings_dict = null;
if (photoSettings != null) {
photoSettings_dict = convertDartToNative_Dictionary(photoSettings);
}
return promiseToFuture<Blob>(
JS("creates:Blob;", "#.takePhoto(#)", this, photoSettings_dict));
}