@Override
  public Task<FcmSendMessageResult> sendMessageTo(
      final String to, final FcmSendMessageRequest request) {
    return dispatcher.dispatchTask(new Callable<FcmSendMessageResult>() {
      @Override
      public FcmSendMessageResult call() {
        return proxy.sendMessageTo(to, request);
      }
    });
  }
@ Override public Task < FcmSendMessageResult > sendMessageTo ( final String to , final FcmSendMessageRequest request ) { return dispatcher . dispatchTask ( new Callable < FcmSendMessageResult > ( ) { @ Override public FcmSendMessageResult call ( ) { return proxy . sendMessageTo ( to , request ) ; } } ) ; }
Sends an FCM message to the given target with the given request payload.

@param to      the target to send a message to.
@param request the details of the message.
@return A {@link Task} that contains the result of sending the message.