getCollectionById<D> method
Null safety
- String name
getCollectionById finds a single Collection by its id (case insensitive).
Implementation
CollectionOrm<D> getCollectionById<D>(String name) =>
_collectionsById[name.toLowerCase()] as CollectionOrm<D>;