write method
Writes the objects out to the oprot
protocol.
Implementation
write(TProtocol oprot) {
validate();
oprot.writeStructBegin(_STRUCT_DESC);
if (this.kvs != null) {
oprot.writeFieldBegin(_KVS_FIELD_DESC);
{
oprot.writeMapBegin(
new TMap(TType.STRING, TType.STRUCT, this.kvs?.length));
for (var elem9 in this.kvs?.keys ?? <Int8List>[]) {
oprot.writeBinary(elem9);
this.kvs?[elem9]?.write(oprot);
}
oprot.writeMapEnd();
}
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}