publish method Null safety

Future publish(
  1. String topic,
  2. String data,
  3. Map<String, dynamic> options
)

Publish a message to a specified topic

  • topic a topic name
  • data a message to be published
  • options publishing options