Observer 构造函数

Observer(
  1. ObserverCallback callback
)

实现

factory Observer(ObserverCallback callback) {
  var callback_1 = convertDartClosureToJS(callback, 1);
  return Observer._create_1(callback_1);
}