selectedSourceName property

String? get selectedSourceName

Implementation

String? get selectedSourceName {
  if (selectedSourceId == null) return null;
  for (final source in sources) {
    if (source.id == selectedSourceId) return source.name;
  }
  return null;
}