schemaFor method

CollectionSchema? schemaFor(
  1. String path
)

The schema of the collection path names, else of its top collection.

Implementation

CollectionSchema? schemaFor(String path) => schemas[collectionName(path)] ?? schemas[topCollection(path)];