typeName property

String get typeName

The name of the type without the namespace.

Implementation

String get typeName => type.split('.').last;