BsonObjectId class
- Inheritance
-
- Object
- BsonObject
- BsonObjectId
Constructors
- BsonObjectId(ObjectId parmId)
- BsonObjectId.fromBsonBinary(BsonBinary id)
- BsonObjectId.fromBuffer(BsonBinary buffer)
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ BsonBinary
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- typeByte → int
-
no setteroverride
- value → ObjectId
-
no setteroverride
Methods
-
byteLength(
) → int -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
packElement(
String? name, BsonBinary buffer) → void -
inherited
-
packValue(
BsonBinary buffer) → void -
override
-
toHexString(
) → String -
toJson(
) → String -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
createBsonBinaryFromObjectId(
ObjectId parmId) → BsonBinary -
extractData(
BsonBinary buffer) → BsonBinary