listCollections method

JSPromise<JSArray<CollectionReference>> listCollections()

Fetches the subcollections that are direct children of this document.

@returns A Promise that resolves with an array of CollectionReferences.

Implementation

external JSPromise<JSArray<CollectionReference>> listCollections();