createTopic abstract method

Future<Topic> createTopic(
  1. String name
)

Create a new topic named name.

The name can be either an absolute name or a relative name.

Returns a Future which completes with the newly created topic.

Implementation

Future<Topic> createTopic(String name);