topic static method

Topic topic(
  1. String name
)

Create a named topic for registering push-based event handlers.

Implementation

static Topic topic(String name) => _makeResource(name, Topic.new) as Topic;