ObjectId class
Constructors
- ObjectId.new({bool clientMode = false})
- ObjectId.fromBsonBinary(BsonBinary _id)
- ObjectId.fromBuffer(BsonBinary buffer)
- ObjectId.fromHexString(String hexString)
-
factory
- ObjectId.fromSeconds(int seconds, [bool clientMode = false])
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toHexString(
) → String - Same as $oid. It will be deprecated in a future release.
-
toJson(
) → String -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override