QueryCurrentPlanResponse.deserialize constructor
Implementation
factory QueryCurrentPlanResponse.deserialize(List<int> bytes) {
final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
return QueryCurrentPlanResponse(
plan: decode.messageTo<cosmos_upgrade_v1beta1_upgrade.Plan?>(
1,
(b) => cosmos_upgrade_v1beta1_upgrade.Plan.deserialize(b),
),
);
}