takePhoto method

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