ConnectHostFrame constructor

ConnectHostFrame({
  1. ConnectInvocationEvent? invocationEvent,
  2. ConnectHeartbeatResponse? heartbeat,
})

Implementation

factory ConnectHostFrame({
  ConnectInvocationEvent? invocationEvent,
  ConnectHeartbeatResponse? heartbeat,
}) {
  final result = create();
  if (invocationEvent != null) result.invocationEvent = invocationEvent;
  if (heartbeat != null) result.heartbeat = heartbeat;
  return result;
}