BrokerMessage constructor

const BrokerMessage({
  1. required String topic,
  2. required String id,
  3. required String payload,
  4. Map<String, String> headers = const {},
})

Implementation

const BrokerMessage({
  required this.topic,
  required this.id,
  required this.payload,
  this.headers = const {},
});