QueryTableInfoResponse.deserialize constructor

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

Implementation

factory QueryTableInfoResponse.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return QueryTableInfoResponse(
    tableInfo: decode.messageTo<initia_move_v1_types.TableInfo?>(
      1,
      (b) => initia_move_v1_types.TableInfo.deserialize(b),
    ),
  );
}