CreateCollectionRequest constructor

const CreateCollectionRequest({
  1. required String name,
  2. required String source,
})

Factory constructor for CreateCollectionRequest

Implementation

const factory CreateCollectionRequest({
  /// The name of the collection to create.
  required String name,

  /// The name of the index to use as the source of the collection.
  required String source,
}) = _CreateCollectionRequest;