serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint32(0, timeBootMs, Endian.little);
data_.setFloat32(4, totalCapacity, Endian.little);
data_.setFloat32(8, usedCapacity, Endian.little);
data_.setFloat32(12, availableCapacity, Endian.little);
data_.setFloat32(16, readSpeed, Endian.little);
data_.setFloat32(20, writeSpeed, Endian.little);
data_.setUint8(24, storageId);
data_.setUint8(25, storageCount);
data_.setUint8(26, status);
data_.setUint8(27, type);
MavlinkMessage.setInt8List(data_, 28, name);
data_.setUint8(60, storageUsage);
return data_;
}