serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setFloat32(0, min1, Endian.little);
data_.setFloat32(4, max1, Endian.little);
data_.setFloat32(8, min2, Endian.little);
data_.setFloat32(12, max2, Endian.little);
data_.setFloat32(16, min3, Endian.little);
data_.setFloat32(20, max3, Endian.little);
data_.setFloat32(24, min4, Endian.little);
data_.setFloat32(28, max4, Endian.little);
data_.setFloat32(32, min5, Endian.little);
data_.setFloat32(36, max5, Endian.little);
data_.setInt8(40, numbands);
data_.setUint8(41, type1);
data_.setUint8(42, type2);
data_.setUint8(43, type3);
data_.setUint8(44, type4);
data_.setUint8(45, type5);
return data_;
}