onCall method

  1. @override
FutureOr<Message> onCall(
  1. Request request
)
override

Implementation

@override
FutureOr<Message> onCall(Request request) async {
  var gateRes = await (binding.component as GateBase).onRequest(request);
  if (gateRes is Response) {
    return gateRes;
  } else {
    return binding.child.findCalling.calling(request);
  }
}