QueryLegacyViewRequest.deserialize constructor

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

Implementation

factory QueryLegacyViewRequest.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return QueryLegacyViewRequest(
    address: decode.getString<String?>(1),
    moduleName: decode.getString<String?>(2),
    functionName: decode.getString<String?>(3),
    typeArgs: decode.getListOrEmpty<String>(4),
    args: decode.getListOfBytes(5),
  );
}