getType method Null safety

String? getType()

Gets the component's logical type.

Returns the component's logical type.