Is there a way to declare a $test$plusargs inside uvm class?

In reply to prpatil:

You don’t declare $test$plusargs, you call it as a function anywhere a procedural expression is allowed.