selectedSourceName property

String? get selectedSourceName

Implementation

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