displayName property Null safety

String displayName
@Deprecated('Use getDisplayString instead')

Return the name of this type as it should appear when presented to users in contexts such as error messages.

Clients should not depend on the content of the returned value as it will be changed if doing so would improve the UX.

Implementation

@Deprecated('Use getDisplayString instead')
String get displayName;