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_.setUint16(26, cog, Endian.little);
data_.setUint8(28, fixType);
data_.setUint8(29, satellitesVisible);
data_.setInt32(30, altEllipsoid, Endian.little);
data_.setUint32(34, hAcc, Endian.little);
data_.setUint32(38, vAcc, Endian.little);
data_.setUint32(42, velAcc, Endian.little);
data_.setUint32(46, hdgAcc, Endian.little);
data_.setUint16(50, yaw, Endian.little);
return data_;
}