getCollection<T> method

IsarCollection<T> getCollection<T>()

Get a collection by its type.

You should use the generated extension methods instead.

Implementation

IsarCollection<T> getCollection<T>() {
  requireOpen();
  return _collections[T] as IsarCollection<T>;
}