acronym property

String acronym

The acronym of the guild if no icon is chosen.

Implementation

String get acronym {
  return name.replaceAll(r"'s ", ' ').replaceAllMapped(RegExp(r'\w+'), (match) => match[0]![0]).replaceAll(RegExp(r'\s'), '');
}