set 方法

Future set(
  1. String instrumentKey,
  2. Map details
)

实现

Future set(String instrumentKey, Map details) {
  var details_dict = convertDartToNative_Dictionary(details);
  return promiseToFuture(
      JS("", "#.set(#, #)", this, instrumentKey, details_dict));
}