createCollection abstract method

  1. @override
Future<AsyncCollection> createCollection(
  1. String name, [
  2. String scope = Scope.defaultName
])
override

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

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

Implementation

@override
Future<AsyncCollection> createCollection(
  String name, [
  String scope = Scope.defaultName,
]);