of
Obtains an instance of EntityVisibility for the given entity state class.
Returns Optional.empty(), if the given message is not an Entity, i.e. has no corresponding option defined.
Return
new instance
Parameters
state Class
the entity state class