collectionProvider abstract method

ModelProvider<TCollection> collectionProvider(
  1. String path
)

Performs the process of loading a document.

Usually, you specify a method that can be executed only the first time, such as loadOnce or listen. Gets the provider of the Collection.

In path, enter the path where you want to retrieve the collection.

Implementation

// TDocument listenDocument(TDocument document);

/// Gets the provider of the [Collection].
///
/// In [path], enter the path where you want to retrieve the collection.
ModelProvider<TCollection> collectionProvider(String path);