className property

String get className

The simple name of the class, without type arguments (written by the generator, so it survives minification; e.g. the default JSON type id).

Implementation

String get className => _className ?? '$T'.replaceFirst(RegExp('<.*'), '');