getCollection<T> method
Implementation
IsarCollection<T> getCollection<T>(String name) {
final collection = _collections[name];
if (collection is IsarCollection<T>) {
return collection;
} else {
throw 'Unknown collection or invalid type';
}
}