write method
Writes the objects out to the oprot
protocol.
Implementation
write(TProtocol oprot) {
validate();
oprot.writeStructBegin(_STRUCT_DESC);
if (this.items != null) {
oprot.writeFieldBegin(_ITEMS_FIELD_DESC);
{
oprot.writeListBegin(new TList(TType.STRUCT, this.items?.length));
for (var elem207 in this.items ?? []) {
elem207.write(oprot);
}
oprot.writeListEnd();
}
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}