takePhoto method Null safety
- [Map? photoSettings]
Implementation
Future<Blob> takePhoto([Map? photoSettings]) {
var photoSettings_dict = null;
if (photoSettings != null) {
photoSettings_dict = convertDartToNative_Dictionary(photoSettings);
}
return promiseToFuture<Blob>(
JS("", "#.takePhoto(#)", this, photoSettings_dict));
}