MsgGetData.fromInv constructor
MsgGetData.fromInv(
- MsgInv invMsg
Create getdata message from inventory message
Implementation
factory MsgGetData.fromInv(MsgInv invMsg) {
return MsgGetData(invList: List.from(invMsg.invList));
}