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("creates:Blob;", "#.takePhoto(#)", this, photoSettings_dict));
}