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