returns the name of the type if it's a named type otherwise returns null
@override String? get name => null;