id property

String id

A unique id for this type, defaults to the name of the type.

Override this if you have two types with the same name.

Implementation

String get id => T.name;