MongoDocument.single constructor
MongoDocument.single(
- String key,
- dynamic value
Create a Document instance initialized with the given key/value pair.
Implementation
MongoDocument.single(String key, dynamic value) {
_map[key] = value;
}