serialize method
Serialize.
Implementation
@override
void serialize(List<int> buffer) {
// Write type-id 0xe5bbfe1a.
buffer.writeInt32(0xe5bbfe1a);
// Write fields.
buffer.writeInt32(flags);
buffer.writeString(url);
final localTtlSecondsCopy = ttlSeconds;
if (localTtlSecondsCopy != null) {
buffer.writeInt32(localTtlSecondsCopy);
}
// Finished serialization.
}