of
Creates a new instance for the class of the passed command.
If an instance of Command is passed to this method, enclosing command message will be un-wrapped to determine the class of the command.
If an instance of Any is passed, it will be unpacked, and the class of the wrapped message will be used.
Return
new instance
Parameters
command Or Message
a command for which to get the class