BsonObjectId constructor
const
BsonObjectId(
- String value
Creates an ObjectId from its 24-character hex string representation.
The client does not check the string.
Implementation
const BsonObjectId(this.value);