serialize method
Serialize.
Implementation
@override
void serialize(List<int> buffer) {
// Write type-id 0x2ffe2f7a.
buffer.writeInt32(0x2ffe2f7a);
// Write fields.
buffer.writeInt32(flags);
buffer.writeInt64(callId);
final localDurationCopy = duration;
if (localDurationCopy != null) {
buffer.writeInt32(localDurationCopy);
}
final localOtherParticipantsCopy = otherParticipants;
if (localOtherParticipantsCopy != null) {
buffer.writeVectorObject(localOtherParticipantsCopy);
}
// Finished serialization.
}