bindMethods method

void bindMethods()

Implementation

void bindMethods() {
  CloudChannelManager.instance.channel?.setMethodCallHandler((call) {
    if (call.method == _requestCompleteAction) {
      String requestId = call.arguments ?? "";
      _methodCall(call, requestId);
    } else if (call.method == _requestProcessAction) {
      _processCall(call);
    }
    return Future.value();
  });
}