TopicNameProvider constructor

TopicNameProvider(
  1. String topicId
)

Resolve a topic's title by ID (used as fallback when title isn't passed via route).

Copied from topicName.

Implementation

TopicNameProvider(String topicId)
  : this._internal(
      (ref) => topicName(ref as TopicNameRef, topicId),
      from: topicNameProvider,
      name: r'topicNameProvider',
      debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
          ? null
          : _$topicNameHash,
      dependencies: TopicNameFamily._dependencies,
      allTransitiveDependencies: TopicNameFamily._allTransitiveDependencies,
      topicId: topicId,
    );