getName method Null safety

String? getName()

Gets the unique component's name.

Returns the unique component's name.