displayName property

String? get displayName
inherited

Allows the ReactJS displayName property to be set for debugging purposes.

Implementation

// This return type is nullable since Component2's override will return null in certain cases.
String? get displayName => runtimeType.toString();