createTopic method

Future<void> createTopic({
  1. required String topicName,
  2. List<TopicMetaData> metaData = const [],
  3. dynamic callback(
    1. FlyResponse response
    )?,
})

This method is used to create the topic.

Implementation

Future<void> createTopic(
    {required String topicName,
    List<TopicMetaData> metaData = const [],
    Function(FlyResponse response)? callback}) async {
  throw UnimplementedError('createTopic has not been implemented.');
}