displayname property

  1. @Deprecated('Use `getLocalizedDisplayname()` instead')
String get displayname

Calculates the displayname. First checks if there is a name, then checks for a canonical alias and then generates a name from the heroes.

Implementation

@Deprecated('Use `getLocalizedDisplayname()` instead')
String get displayname => getLocalizedDisplayname();