serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setFloat32(0, framerate, Endian.little);
data_.setUint32(4, bitrate, Endian.little);
data_.setUint16(8, flags, Endian.little);
data_.setUint16(10, resolutionH, Endian.little);
data_.setUint16(12, resolutionV, Endian.little);
data_.setUint16(14, rotation, Endian.little);
data_.setUint16(16, hfov, Endian.little);
data_.setUint8(18, streamId);
return data_;
}