takePhoto method Null safety

Future<Blob> takePhoto (
  1. [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));
}