collection method

Collection collection(
  1. String name
)

Implementation

Collection collection(String name) {
  return _collections.putIfAbsent(
    name,
    () => Collection(
      name: name,
      path: "$path/collections/$name",
      encrypted: _encrypted,
      isWeb: _isWeb,
      database: this,
    ),
  );
}