QueryChannelStateResponse.deserialize constructor

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

Implementation

factory QueryChannelStateResponse.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return QueryChannelStateResponse(
    channelState: decode
        .messageTo<ibc_applications_perm_v1_types.ChannelState?>(
          1,
          (b) => ibc_applications_perm_v1_types.ChannelState.deserialize(b),
        ),
  );
}