getName method Null safety

String getName()

Get the name of the object type.

Returns the name of the object type.