serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint32(0, customMode, Endian.little);
data_.setUint32(4, intendedCustomMode, Endian.little);
data_.setUint8(8, standardMode);
return data_;
}