create method Null safety

Future create (
  1. [Map? options]
)

Implementation

Future create([Map? options]) {
  var options_dict = null;
  if (options != null) {
    options_dict = convertDartToNative_Dictionary(options);
  }
  return promiseToFuture(
      JS("creates:Credential;", "#.create(#)", this, options_dict));
}