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");

See also

Last updated on Dec 5, 2024