MethodChannelTUICallEngine constructor

MethodChannelTUICallEngine()

Implementation

MethodChannelTUICallEngine() {
  methodChannel.setMethodCallHandler((call) async {
    if (call.method == "onTUICallObserver") {
      String observerName = call.arguments['method'];
      var observerParams = call.arguments['params'];
      _onTUICallObserver(observerName, observerParams);
    } else {
      debugPrint("onTUICallObserver: MethodNotImplemented ${call.arguments}");
    }
  });
}