applyConstraints 方法

Future applyConstraints(
  1. [Map? constraints]
)

实现

Future applyConstraints([Map? constraints]) {
  var constraints_dict = null;
  if (constraints != null) {
    constraints_dict = convertDartToNative_Dictionary(constraints);
  }
  return promiseToFuture(
      JS("", "#.applyConstraints(#)", this, constraints_dict));
}