MongoInsertMessage constructor
MongoInsertMessage(])
Implementation
MongoInsertMessage(
String collectionFullName, List<Map<String, dynamic>> documents,
[this.flags = 0])
: _collectionFullName = BsonCString(collectionFullName),
_documents = <BsonMap>[] {
for (var document in documents) {
_documents.add(BsonMap(document));
}
opcode = MongoMessage.insert;
}