collectionControllerCountForTesting<T> function

  1. @visibleForTesting
int collectionControllerCountForTesting<T>(
  1. TDummyFirestoreApi<T> api
)

Returns the number of active typed collection stream controllers.

Implementation

@visibleForTesting
int collectionControllerCountForTesting<T>(TDummyFirestoreApi<T> api) =>
    api._collectionControllers.length;