getFirestoreRuleset method

Future<Ruleset> getFirestoreRuleset()

Gets the Ruleset currently applied to Cloud Firestore. Rejects with a not-found error if no ruleset is applied on Firestore.

Returns a future that fulfills with the Firestore ruleset.

Implementation

Future<Ruleset> getFirestoreRuleset() {
  return _getRulesetForRelease(_cloudFirestore);
}