Topic constructor
Topic(
- String name, {
- ResourcesClient? client,
- SubscriberClient? subscriberClient,
Implementation
Topic(String name,
{$p.ResourcesClient? client, $tp.SubscriberClient? subscriberClient})
: super(name, client) {
_subscriberClient = subscriberClient;
if (subscriberClient == null) {
_subscriberClient =
$tp.SubscriberClient(ClientChannelSingleton.instance.clientChannel);
} else {
_subscriberClient = subscriberClient;
}
}