PhoenixMessage.fromMessage constructor

PhoenixMessage.fromMessage(
  1. PhoenixMessage message,
  2. dynamic anyPayload
)

Implementation

PhoenixMessage.fromMessage(PhoenixMessage message, dynamic anyPayload) {
  joinRef = message.joinRef;
  ref = message.ref;
  topic = message.topic;
  payload = message.payload;
  payloadAny = anyPayload;
}