serialize method
Serialize.
Implementation
@override
void serialize(List<int> buffer) {
// Write type-id 0x9e6b131a.
buffer.writeInt32(0x9e6b131a);
// Write fields.
buffer.writeInt32(flags);
final localGeoPointCopy = geoPoint;
if (localGeoPointCopy != null) {
buffer.writeObject(localGeoPointCopy);
}
final localAddressCopy = address;
if (localAddressCopy != null) {
buffer.writeString(localAddressCopy);
}
// Finished serialization.
}