FirestoreCreate constructor

FirestoreCreate(
  1. FirestoreCollectionHandle collection, {
  2. Map<String, Object?>? fields,
  3. Object? parentReference,
  4. String? outputAs,
})

Implementation

FirestoreCreate(
  this.collection, {
  Map<String, Object?>? fields,
  Object? parentReference,
  this.outputAs,
}) : fields = fields == null ? const {} : normalizeExpressionMap(fields),
     parentReference = normalizeNullableExpression(parentReference);