toShortString method

String toShortString()

Implementation

String toShortString() {
  if (this == SupportLocale.ptBR) {
    return "pt-br";
  }
  return this.toString().split('.').last;
}