DBPointer constructor

DBPointer(
  1. String collection,
  2. ObjectId id
)

Implementation

DBPointer(this.collection, ObjectId id)
    : bsonCollection = BsonString(collection),
      bsonObjectId = BsonObjectId(id);