Publish constructor

Publish(
  1. int requestId,
  2. String topic, {
  3. PublishOptions? options,
  4. List? arguments,
  5. Map<String, dynamic>? argumentsKeywords,
})

Implementation

Publish(this.requestId, this.topic,
    {this.options,
    List<dynamic>? arguments,
    Map<String, dynamic>? argumentsKeywords}) {
  id = MessageTypes.codePublish;
  this.arguments = arguments;
  this.argumentsKeywords = argumentsKeywords;
}