name property

String name

Implementation

String get name => "$this"
    .trimAround("_")
    .replaceAllMapped(
        typeParameters, (match) => "[${match.group(1)!.uncapitalize()}]")
    .uncapitalize();