Dart DocumentationbsonBsonNull

BsonNull class

class BsonNull extends BsonObject{
 BsonNull();
 get value=>null;
 byteLength()=>0;
 int get typeByte => _BSON_DATA_NULL;
 packValue(BsonBinary buffer){
 }
 unpackValue(BsonBinary buffer){
 }
}

Extends

BsonObject > BsonNull

Constructors

new BsonNull() #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
BsonNull();

Properties

final int typeByte #

int get typeByte => _BSON_DATA_NULL;

final value #

get value=>null;

Methods

dynamic byteLength() #

byteLength()=>0;

dynamic packElement(String name, buffer) #

inherited from BsonObject
packElement(String name, var buffer){
 buffer.writeByte(typeByte);
 if (name != null){
   new BsonCString(name).packValue(buffer);
 }
 packValue(buffer);
}

dynamic packValue(BsonBinary buffer) #

packValue(BsonBinary buffer){
}

_ElementPair unpackElement(buffer) #

inherited from BsonObject
_ElementPair unpackElement(buffer){
 _ElementPair result = new _ElementPair();
 result.name = buffer.readCString();
 unpackValue(buffer);
 result.value = value;
 return result;
}

dynamic unpackValue(BsonBinary buffer) #

unpackValue(BsonBinary buffer){
}