The Dart SDK is currently in experimental status. If you would like to provide feedback, please reach out to us with your suggestions and comments on our Discord.
Dart - topic()
Creates a new Topic.
import 'package:nitric_sdk/nitric.dart';
final updates = Nitric.topic("updates");
Parameters
- Name
name
- Required
- Required
- Type
- String
- Description
The name of the topic to create.
Examples
Create a new topic
import 'package:nitric_sdk/nitric.dart';
final updates = Nitric.topic("updates");