serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint64(0, timeUsec, Endian.little);
data_.setInt32(8, lat, Endian.little);
data_.setInt32(12, lon, Endian.little);
data_.setInt32(16, alt, Endian.little);
data_.setUint16(20, eph, Endian.little);
data_.setUint16(22, epv, Endian.little);
data_.setUint16(24, vel, Endian.little);
data_.setInt16(26, vn, Endian.little);
data_.setInt16(28, ve, Endian.little);
data_.setInt16(30, vd, Endian.little);
data_.setUint16(32, cog, Endian.little);
data_.setUint8(34, fixType);
data_.setUint8(35, satellitesVisible);
data_.setUint8(36, id);
data_.setUint16(37, yaw, Endian.little);
return data_;
}