CollectionImport class

Represents a collection to be imported.

Constructors

CollectionImport({required String path, required FirestorePath firestorePath, required String? idFieldName, required List<Map<String, dynamic>> documents})
Creates a collection import.

Properties

documents List<Map<String, dynamic>>
The documents to import.
final
firestorePath → FirestorePath
The validated Firestore path.
final
hashCode int
The hash code for this object.
no setterinherited
idFieldName String?
The field name to use as document ID.
final
path String
The collection path.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited