RhythmBox/lib/services/artist.dart

14 lines
325 B
Dart
Raw Normal View History

2024-08-26 17:49:05 +00:00
import 'package:spotify/spotify.dart';
2024-08-27 06:35:16 +00:00
extension ArtistSimpleExtension on List<ArtistSimple> {
String asString() {
return map((e) => e.name?.replaceAll(",", " ")).join(", ");
}
}
extension ArtistExtension on List<Artist> {
2024-08-26 17:49:05 +00:00
String asString() {
return map((e) => e.name?.replaceAll(",", " ")).join(", ");
}
}