listAll method

Future<ListResult> listAll()

List all items (files) and prefixes (folders) under this storage reference. List API is only available for Firebase Rules Version 2.

This is a helper method for calling list() repeatedly until there are no more results. The default pagination size is 1000.

Note: The results may not be consistent if objects are changed while this operation is running.

Warning: listAll may potentially consume too many resources if there are too many results.

Implementation

Future<ListResult> listAll() =>
    handleThenable(jsObject.listAll()).then(ListResult.getInstance);