Message constructor

Message({
  1. String? joinRef,
  2. String? ref,
  3. String? topic,
  4. required PhoenixChannelEvent event,
  5. Map<String, dynamic>? payload,
})

Build a Message from its constituents.

Implementation

Message({
  this.joinRef,
  this.ref,
  this.topic,
  required this.event,
  this.payload,
});