displayTitle property

String get displayTitle

Implementation

String get displayTitle {
  if (kind == Nip51List.SEARCH_RELAYS) {
    return "Search";
  }
  if (kind == Nip51List.BLOCKED_RELAYS) {
    return "Blocked";
  }
  if (kind == Nip51List.MUTE) {
    return "Mute";
  }
  return "kind $kind";
}