remove 方法

  1. @JSName('remove')
Future remove()

实现

@JSName('remove')
Future remove() {
  var completer = new Completer();
  _remove(() {
    completer.complete();
  }, (error) {
    completer.completeError(error);
  });
  return completer.future;
}