pretty method

String pretty()

Implementation

String pretty() {
  String name = toString().split('.').last;
  return name[0].toUpperCase() + name.substring(1);
}