AirlinkEyeGsHolePushRequest.parse constructor
AirlinkEyeGsHolePushRequest.parse(
- ByteData data_
Implementation
factory AirlinkEyeGsHolePushRequest.parse(ByteData data_) {
if (data_.lengthInBytes <
AirlinkEyeGsHolePushRequest.mavlinkEncodedLength) {
var len = AirlinkEyeGsHolePushRequest.mavlinkEncodedLength -
data_.lengthInBytes;
var d = data_.buffer.asUint8List() + List<int>.filled(len, 0);
data_ = Uint8List.fromList(d).buffer.asByteData();
}
var respType = data_.getUint8(0);
return AirlinkEyeGsHolePushRequest(respType: respType);
}