MsgCreateVestingPool.deserialize constructor
MsgCreateVestingPool.deserialize(
- List<int> bytes
)
Implementation
factory MsgCreateVestingPool.deserialize(List<int> bytes) {
final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
return MsgCreateVestingPool(
owner: decode.getString<String?>(1),
name: decode.getString<String?>(3),
amount: decode.getString<String?>(4),
duration: decode.messageTo<google_protobuf_duration.Duration?>(
5,
(b) => google_protobuf_duration.Duration.deserialize(b),
),
vestingType: decode.getString<String?>(6),
);
}