QueryVestingPoolsResponse.deserialize constructor

QueryVestingPoolsResponse.deserialize(
  1. List<int> bytes
)

Implementation

factory QueryVestingPoolsResponse.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return QueryVestingPoolsResponse(
    vestingPools:
        decode
            .getListOfBytes(2)
            .map((b) => VestingPoolInfo.deserialize(b))
            .toList(),
  );
}