createCollection abstract method

FutureOr<Collection> createCollection(
  1. String name, [
  2. String scope = Scope.defaultName
])

Creates a Collection with the given name in the specified scope.

If the Collection already exists, the existing collection will be returned.

Implementation

FutureOr<Collection> createCollection(
  String name, [
  String scope = Scope.defaultName,
]);