setIndexConfigurationFromJSON method

  1. @experimental
Future<void> setIndexConfigurationFromJSON(
  1. String json
)

Configures indexing for local query execution. Any previous index configuration is overridden.

The index entries themselves are created asynchronously. You can continue to use queries that require indexing even if the indices are not yet available. Query execution will automatically start using the index once the index entries have been written. See Firebase documentation to learn how to configure your index configuration JSON file: https://firebase.google.com/docs/reference/firestore/indexes

This API is in preview mode and is subject to change.

Implementation

@experimental
Future<void> setIndexConfigurationFromJSON(String json) async {
  return _delegate.setIndexConfiguration(json);
}