serialize method
Serialize.
Implementation
@override
void serialize(List<int> buffer) {
// Write type-id 0x6319d612.
buffer.writeInt32(0x6319d612);
// Write fields.
buffer.writeInt32(flags);
buffer.writeString(alt);
buffer.writeObject(stickerset);
final localMaskCoordsCopy = maskCoords;
if (localMaskCoordsCopy != null) {
buffer.writeObject(localMaskCoordsCopy);
}
// Finished serialization.
}